summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2021-03-04 15:28:36 +0100
committerErich Eckner <git@eckner.net>2021-03-04 15:28:36 +0100
commit0a55b4ed86a5d9f58b200b6671aa712003a0a93c (patch)
tree9c8f8a7738dd2d4f27db7a46d65959a6ad6a09db /Makefile
parent2ac4843a974822a0b547b52a274d13ac39374b9e (diff)
downloadanzeige-0a55b4ed86a5d9f58b200b6671aa712003a0a93c.tar.xz
input_gadgets.c: api.met.no: von Version 1.9 zu 2.0 aktualisiert - jetzt als json statt xml
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 "$<"