summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-09-24 09:18:26 +0200
committerErich Eckner <git@eckner.net>2019-09-24 09:18:26 +0200
commit5a5bb02d01fce26195cff8e78e2d106b770c6507 (patch)
tree7296c39ce49486cf754b72054011d5b8a4b30baf /Makefile
parent973ea982a7c50a53b6437c54505164f73ccfcc96 (diff)
downloadanzeige-5a5bb02d01fce26195cff8e78e2d106b770c6507.tar.xz
humidity: wip
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f0609a0..b494daa 100644
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,14 @@
CFLAGS=-Werror -O3 -pedantic
-anzeige: anzeige.c fonts.o input_gadgets.o multiplexer.o
+anzeige: anzeige.c fonts.o humidity.o input_gadgets.o multiplexer.o
gcc -o "$@" $(CFLAGS) -lpthread -lzip -lxml2 -lcurl $^
fonts.o: fonts.c fonts.h
gcc -o "$@" $(CFLAGS) -c "$<"
+humidity.o: humidity.c humidity.h
+ gcc -o "$@" $(CFLAGS) -c "$<"
+
input_gadgets.o: input_gadgets.c input_gadgets.h
gcc -o "$@" $(CFLAGS) -c -I/usr/include/libxml2 -lzip -lxml2 -lcurl "$<"