summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 0d0a706..ab83312 100644
--- a/Makefile
+++ b/Makefile
@@ -1,16 +1,16 @@
-CFLAGS="-Werror=implicit-function-declaration"
+CFLAGS="-Werror=implicit-function-declaration -O3"
anzeige: anzeige.c fonts.o input_gadgets.o multiplexer.o
- gcc -O3 -o "$@" $(CFLAGS) -lpthread -lxml2 -lcurl $^
+ gcc -o "$@" $(CFLAGS) -lpthread -lzip -lxml2 -lcurl $^
fonts.o: fonts.c fonts.h
- gcc -O3 -o "$@" $(CFLAGS) -c "$<"
+ gcc -o "$@" $(CFLAGS) -c "$<"
input_gadgets.o: input_gadgets.c input_gadgets.h
- gcc -O3 -o "$@" $(CFLAGS) -c -I/usr/include/libxml2 -lxml2 -lcurl "$<"
+ gcc -o "$@" $(CFLAGS) -c -I/usr/include/libxml2 -lzip -lxml2 -lcurl "$<"
multiplexer.o: multiplexer.c multiplexer.h
- gcc -O3 -o "$@" $(CFLAGS) -c -lpthread "$<"
+ gcc -o "$@" $(CFLAGS) -c -lpthread "$<"
all: anzeige