Add web pages.
[ponghero.git] / Makefile
index df3ccae75024e36c23736bf9c10b38d6043f81f8..2acd6a661476c099884c0a52e58992cf9b8a9895 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,11 @@
 #! /usr/bin/make
 
-CFLAGS:=-Wall -Wmissing-prototypes -Wmissing-declarations -g #-g #-O2 -g
-LDFLAGS:=-lSDL
-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