From 116364669abd97d6438092682c63b97248768a23 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Tue, 14 Aug 2012 13:13:30 +0200 Subject: SDL App skeleton --- Makefile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..00f72ad --- /dev/null +++ b/Makefile @@ -0,0 +1,16 @@ +CC := gcc + +SDL_CFLAGS := $(shell sdl-config --cflags) +SDL_LDFLAGS := $(shell sdl-config --libs) + +CFLAGS := -std=c99 -Wall -g -O0 \ + $(SDL_CFLAGS) +LDFLAGS := $(SDL_LDFLAGS) + +all : effect-pad + +effect-pad : effect-pad.o + $(CC) $(LDFLAGS) $^ -o $@ + +clean: + $(RM) *.o effect-pad{,.exe} -- cgit v1.2.3