Files
xoat/Makefile
seanpringle e78f92b98a import
2012-08-31 02:15:23 +10:00

13 lines
273 B
Makefile

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