Makefile 332 Bytes
Newer Older
nagayama15's avatar
nagayama15 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
CXXFLAGS := \
	-std=c++17 \
	-Wall \
	-Wextra \
	-pedantic \
	-Werror \
	-fPIC

LDFLAGS :=

.PHONY: all run clean

all: test_pass

run: test_pass
	./test_pass

test_pass: Test.o
	${CXX} ${CXXFLAGS} -o $@ $^ ${LDFLAGS}

Test.o: \
	Test.cpp \
	TestPermutationTable.hpp \
	../src/nykk/PermutationTable.hpp

clean:
	${RM} test_pass *.o