summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorSebastian Reichel <sre@ring0.de>2012-02-26 20:25:01 +0100
committerSebastian Reichel <sre@ring0.de>2012-02-26 20:25:01 +0100
commit35513e4ed57986eb4123f6927cda151a246b1ae6 (patch)
treecbeb186e75a69d9298ce9bdf22a52688433f1acb /Makefile
parent9d6ca1034c1cfc63d384b272051b10164cdc814f (diff)
downloadweatherstation-35513e4ed57986eb4123f6927cda151a246b1ae6.tar.bz2
add new logging utility
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
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