Remove 'get_' from Pieces getters
[purplehaze.git] / test / unit / Makefile
blobbbea2af0c177879ba16d3fe0319741c49053f692
1 include ../../configure.mk
3 CXXFLAGS += -lgtest
5 SOURCES = $(shell ls {../../src,.}/*.cpp | grep -v 'src/main.cpp')
6 OBJECTS = $(SOURCES:.cpp=.o)
7 EXECUTABLE = test_purplehaze
9 all: $(SOURCES) $(EXECUTABLE)
11 $(EXECUTABLE): $(OBJECTS)
12 $(CXX) $(CXXFLAGS) -o $@ $(OBJECTS)
14 clean:
15 rm -f $(OBJECTS) $(EXECUTABLE)
17 .cpp.o:
18 $(CXX) $(CXXFLAGS) -c -o $@ $<