Add web pages.
[ponghero.git] / Makefile
index 11d33b33b0d3e1c3ce81ff494a8003e9a4e04e05..2acd6a661476c099884c0a52e58992cf9b8a9895 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,11 @@
 #! /usr/bin/make
 
 #! /usr/bin/make
 
-CFLAGS:=-Wall -Wmissing-prototypes -Wmissing-declarations -g -I../ccan #-g #-O2 -g
-LDFLAGS:=-lSDL -lcwiid
-prpong: prpong.c stdrusty.h
+CFLAGS:=-Wall -Wmissing-prototypes -Wmissing-declarations -g -Iccan/ #-g #-O2 -g
+LDFLAGS:=-lSDL -lSDL_image -lcwiid 
+
+ponghero: ponghero.c stdrusty.h ccan/talloc/talloc.o ccan/list/list.o
+
+clean:
+       $(RM) ponghero `find . -name '*.o'`
 
 wiimote: wiimote.c stdrusty.h
 
 wiimote: wiimote.c stdrusty.h