summaryrefslogtreecommitdiff
path: root/Makefile
blob: 1521b4461310c4b2781f5c97437bfc97de7687cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
CFLAGS="-Werror=implicit-function-declaration"

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 "$<"

multiplexer.o: multiplexer.c multiplexer.h
	gcc -o "$@" $(CFLAGS) -c -lpthread "$<"

all: anzeige

.PHONY: all