summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
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