16 lines
324 B
Makefile
16 lines
324 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
|
|
|
|
all: $(PROJECT)
|
|
|
|
$(PROJECT): $(OBJECTS)
|
|
$(CXX) $(LDFLAGS) $(CXXFLAGS) -o $@ $(OBJECTS)
|
|
|
|
clean:
|
|
rm -f $(OBJECTS) $(PROJECT)
|