Files
xoat/Makefile
seanpringle c158419bad name clash
2012-09-01 13:13:52 +10:00

13 lines
273 B
Makefile

CFLAGS?=-Wall -O2 -g
LDADD?=$(shell pkg-config --cflags --libs x11 xinerama)
normal:
$(CC) -o xoat xoat.c $(CFLAGS) $(LDADD) $(LDFLAGS)
proto:
cat *.c | egrep '^(void|int|char|unsigned|Window|client)' | sed -r 's/\)/);/' > proto.h
clean:
rm -f xoat
all: proto normal