From 10ccc825777c7ce8797fc58e1484dd93f19368cf Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Thu, 18 Jun 2009 16:24:02 -0400 Subject: Created base --- Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..0eb1738 --- /dev/null +++ b/Makefile @@ -0,0 +1,13 @@ +OBJS = mazeoflife.o gamestate.o +CC = g++ +CFLAGS = `pkg-config sdl --cflags` +LIBS = `pkg-config sdl --libs` + +mazeoflife: $(OBJS) + $(CC) $(OBJS) $(LIBS) -o mazeoflife + +%.o: %.cpp + $(CC) -c $< $(CFLAGS) -o $@ + +clean: + rm -rdfv $(OBJS) mazeoflife -- cgit 1.4.1