X-Git-Url: https://git.ozlabs.org/?p=ponghero.git;a=blobdiff_plain;f=Makefile;h=2acd6a661476c099884c0a52e58992cf9b8a9895;hp=df3ccae75024e36c23736bf9c10b38d6043f81f8;hb=HEAD;hpb=1774b5732984e261bf4fd68350051e7ff706c36c diff --git a/Makefile b/Makefile index df3ccae..2acd6a6 100644 --- 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