treewars/Makefile

16 lines
336 B
Makefile

# Simple makefile for now, we'll use something more complex if/when we need it
PROJECT=graphgame
CXX=g++
CXXFLAGS=-DDEBUG -g
LDFLAGS=-lSDL
OBJECTS=drawutils.o gamecore.o graph.o main.o mainevent.o mathutils.o
all: $(PROJECT)
$(PROJECT): $(OBJECTS)
$(CXX) $(LDFLAGS) $(CXXFLAGS) -o $@ $(OBJECTS)
clean:
rm -f $(OBJECTS) $(PROJECT)