From 35513e4ed57986eb4123f6927cda151a246b1ae6 Mon Sep 17 00:00:00 2001 From: Sebastian Reichel Date: Sun, 26 Feb 2012 20:25:01 +0100 Subject: add new logging utility --- Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index aee11ca..ecbfe66 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ NAME:=libweatherstation.so SONAME=$(NAME).0 LONGNAME=$(NAME).0.0 -all: library demo +all: library demo logger library: $(LONGNAME) @ln -sf $(LONGNAME) $(SONAME) @@ -25,7 +25,11 @@ demo: demo.vala @echo "[VALAC] $^" @$(VALAC) --vapidir=. --Xcc=-I. --Xcc=-L. --Xcc=-lweatherstation --pkg posix --pkg libweatherstation $^ +logger: logger.vala + @echo "[VALAC] $^" + @$(VALAC) --vapidir=. --Xcc=-I. --Xcc=-L. --Xcc=-lweatherstation --pkg posix --pkg libweatherstation --pkg sqlite3 $^ + clean: - rm -f $(OBJECTS) $(LONGNAME) $(SONAME) $(NAME) demo + rm -f $(OBJECTS) $(LONGNAME) $(SONAME) $(NAME) demo logger .PHONY: all library clean -- cgit v1.2.3