1 include ../benchmarks.mk
5 BENCH_BINARY := $(BENCH).o
7 TESTS := main testcase1 testcase2
10 ../generate.sh $(notdir $(shell pwd))
13 $(CXX) -c -fPIC -MMD -MF .$@.d -o $@ $< $(CXXFLAGS) $(LDFLAGS)
15 $(TESTS): % : %.o $(BENCH_BINARY)
16 $(CXX) -o $@ $^ $(CXXFLAGS) $(LDFLAGS)
21 rm -rf $(TESTS) *.o .*.d *.dSYM