This commit is contained in:
seanpringle
2012-08-31 02:15:23 +10:00
parent 9693addc02
commit e78f92b98a
6 changed files with 1045 additions and 1 deletions

13
Makefile Normal file
View File

@@ -0,0 +1,13 @@
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