summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-10-25 16:19:13 +0200
committerErich Eckner <git@eckner.net>2018-10-25 16:19:13 +0200
commit27138a87d4f47cba9687d6c5c4dc90addd26353e (patch)
tree33f2ced5cefdd828e4189a0b80a6b17366dae925 /Makefile
parent49116c127443e5880423eca02889f8d576635652 (diff)
downloadanzeige-27138a87d4f47cba9687d6c5c4dc90addd26353e.tar.xz
Makefile: -O3 should be in CFLAGS
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