summaryrefslogtreecommitdiff
path: root/Makefile
blob: 0d0a706c004965ebb5783238a60ae36f24338e6b (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 -O3 -o "$@" $(CFLAGS) -lpthread -lxml2 -lcurl $^

fonts.o: fonts.c fonts.h
	gcc -O3 -o "$@" $(CFLAGS) -c "$<"

input_gadgets.o: input_gadgets.c input_gadgets.h
	gcc -O3 -o "$@" $(CFLAGS) -c -I/usr/include/libxml2 -lxml2 -lcurl "$<"

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

all: anzeige

.PHONY: all