]> git.ozlabs.org Git - ponghero.git/blobdiff - Makefile
Prepare for release: rename to ponghero and pull in ccan.
[ponghero.git] / Makefile
index f3e02405f80e6a71441566843fb595f1ffc1d966..2acd6a661476c099884c0a52e58992cf9b8a9895 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,11 @@
 #! /usr/bin/make
 
-CFLAGS:=-Wall -Wmissing-prototypes -Wmissing-declarations -g -I../ccan #-g #-O2 -g
+CFLAGS:=-Wall -Wmissing-prototypes -Wmissing-declarations -g -Iccan/ #-g #-O2 -g
 LDFLAGS:=-lSDL -lSDL_image -lcwiid 
-prpong: prpong.c stdrusty.h ../ccan/talloc/talloc.o
+
+ponghero: ponghero.c stdrusty.h ccan/talloc/talloc.o ccan/list/list.o
+
+clean:
+       $(RM) ponghero `find . -name '*.o'`
 
 wiimote: wiimote.c stdrusty.h