#! /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