Refactor killer moves
[purplehaze.git] / Makefile
blobb3b9a21aeec704c9126dbdec9212115c39f3d2ea
1 include configure.mk
3 SOURCES = $(shell ls src/*.cpp)
4 OBJECTS = $(SOURCES:.cpp=.o)
5 EXECUTABLE = purplehaze
7 all: $(SOURCES) $(EXECUTABLE)
9 $(EXECUTABLE): $(OBJECTS)
10 $(CXX) $(CXXFLAGS) -o $@ $(OBJECTS)
12 clean:
13 rm -f $(OBJECTS) $(EXECUTABLE)
15 .cpp.o:
16 $(CXX) $(CXXFLAGS) -c -o $@ $<