2011-06-23 13:38:15 +00:00
|
|
|
# Simple makefile for now, we'll use something more complex if/when we need it
|
|
|
|
|
|
|
|
PROJECT=graphgame
|
|
|
|
CXX=g++
|
|
|
|
CXXFLAGS=-DDEBUG -g
|
|
|
|
LDFLAGS=-lSDL
|
2011-06-23 21:28:49 +00:00
|
|
|
OBJECTS=drawutils.o gamecore.o graph.o main.o mainevent.o mathutils.o gamedata.o
|
2011-06-23 13:38:15 +00:00
|
|
|
|
|
|
|
all: $(PROJECT)
|
|
|
|
|
|
|
|
$(PROJECT): $(OBJECTS)
|
|
|
|
$(CXX) $(LDFLAGS) $(CXXFLAGS) -o $@ $(OBJECTS)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f $(OBJECTS) $(PROJECT)
|