diff options
author | Erich Eckner <git@eckner.net> | 2018-10-22 14:19:25 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-10-22 14:19:25 +0200 |
commit | ae75b15e6241232c2adb3ae3b53819d3a4dd638d (patch) | |
tree | 4a4c738c2bfa8fff0ac2dbe0a90444120bb566c5 /Makefile | |
parent | 9cbc55a81c76dd3bfb480b9f280f9958ce6ef592 (diff) | |
download | anzeige-ae75b15e6241232c2adb3ae3b53819d3a4dd638d.tar.xz |
split of logical parts into separate files
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -1,5 +1,13 @@ -anzeige: anzeige.c fonts.h - gcc -o "$@" -Werror=implicit-function-declaration -lpthread "$<" +CFLAGS="-Werror=implicit-function-declaration" + +anzeige: anzeige.c fonts.h input_gadgets.o multiplexer.o + gcc -o "$@" $(CFLAGS) -lpthread -lcurl $^ + +input_gadgeds.o: input_gadgeds.c input_gadgeds.h + gcc -o "$@" $(CFLAGS) -c -lcurl "$<" + +multiplexer.o: multiplexer.c multiplexer.h + gcc -o "$@" $(CFLAGS) -c -lpthread "$<" all: anzeige |