ref: c31b87b16a9e96c2156ebc6c89e07bac86c10094
parent: 1024c308660c595e8c32f42abf808fe8c8d4f997
author: Vegard Nossum <[email protected]>
date: Thu Jun 11 02:55:26 EDT 2009
lib: make xlib compile on Linux Signed-off-by: Vegard Nossum <[email protected]>
--- /dev/null
+++ b/src/lib/Makefile
@@ -1,0 +1,7 @@
+all: xlib
+
+.c.o:
+ gcc -Wall -I. -I.. -Iinclude -g -c -o $@ $<
+
+xlib: $(patsubst %.c,%.o,$(wildcard *.c))
+ gcc -Wall -o $@ $^