diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -1,11 +1,14 @@ CFLAGS=-Werror -O3 -pedantic -anzeige: anzeige.c fonts.o input_gadgets.o multiplexer.o +anzeige: anzeige.c fonts.o humidity.o input_gadgets.o multiplexer.o gcc -o "$@" $(CFLAGS) -lpthread -lzip -lxml2 -lcurl $^ fonts.o: fonts.c fonts.h gcc -o "$@" $(CFLAGS) -c "$<" +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 "$<" @@ -14,4 +17,7 @@ multiplexer.o: multiplexer.c multiplexer.h all: anzeige -.PHONY: all +run: all + ./anzeige + +.PHONY: all run |