summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 8a71475..3b97623 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
CFLAGS=-Werror -O3 -pedantic -g
anzeige: anzeige.c fonts.o humidity.o input_gadgets.o multiplexer.o
- gcc -o "$@" $(CFLAGS) -lpthread -lzip -lxml2 -lcurl $^
+ gcc -o "$@" $(CFLAGS) -lpthread -lzip -lxml2 -ljson-c -lcurl $^
fonts.o: fonts.c fonts.h
gcc -o "$@" $(CFLAGS) -c "$<"
@@ -10,7 +10,7 @@ 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 "$<"
+ gcc -o "$@" $(CFLAGS) -c -I/usr/include/libxml2 -I/usr/include/json-c -lzip -lxml2 -ljson-c -lcurl "$<"
multiplexer.o: multiplexer.c multiplexer.h
gcc -o "$@" $(CFLAGS) -c -lpthread "$<"