summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-10-23 10:04:21 +0200
committerErich Eckner <git@eckner.net>2018-10-23 10:04:21 +0200
commitfee4f509554f5488fccfd66566b77c1336d6c96e (patch)
tree231857ef74574c370685365fae10d3f236651fd1 /Makefile
parent80e3c3ce5744272d3eef9f9b32f7da5ae96088cd (diff)
downloadanzeige-fee4f509554f5488fccfd66566b77c1336d6c96e.tar.xz
Makefile: add fonts target
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 4f52027..1521b44 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,11 @@
CFLAGS="-Werror=implicit-function-declaration"
-anzeige: anzeige.c fonts.h input_gadgets.o multiplexer.o
+anzeige: anzeige.c fonts.o input_gadgets.o multiplexer.o
gcc -o "$@" $(CFLAGS) -lpthread -lcurl $^
+fonts.o: fonts.c fonts.h
+ gcc -o "$@" $(CFLAGS) -c "$<"
+
input_gadgets.o: input_gadgets.c input_gadgets.h
gcc -o "$@" $(CFLAGS) -c -lcurl "$<"