blob: f04d9ec3c48a18277b31e47303e86124a2fb049d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
CFLAGS=-Werror -O3 -pedantic
anzeige: anzeige.c fonts.o input_gadgets.o multiplexer.o
gcc -o "$@" $(CFLAGS) -lpthread -lzip -lxml2 -lcurl $^
fonts.o: fonts.c fonts.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 "$<"
multiplexer.o: multiplexer.c multiplexer.h
gcc -o "$@" $(CFLAGS) -c -lpthread "$<"
all: anzeige
.PHONY: all
|