diff options
author | Erich Eckner <git@eckner.net> | 2018-10-25 16:19:13 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-10-25 16:19:13 +0200 |
commit | 27138a87d4f47cba9687d6c5c4dc90addd26353e (patch) | |
tree | 33f2ced5cefdd828e4189a0b80a6b17366dae925 /Makefile | |
parent | 49116c127443e5880423eca02889f8d576635652 (diff) | |
download | anzeige-27138a87d4f47cba9687d6c5c4dc90addd26353e.tar.xz |
Makefile: -O3 should be in CFLAGS
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 |