1 include ../benchmarks.mk
4 BENCH_BINARY := $(BENCH).o
6 TESTS := main testcase1 testcase2
9 ../generate.sh $(notdir $(shell pwd))
12 $(CXX) -c -fPIC -MMD -MF .$@.d -o $@ $< $(CXXFLAGS) $(LDFLAGS)
14 $(TESTS): % : %.o $(BENCH_BINARY)
15 $(CXX) -o $@ $^ $(CXXFLAGS) $(LDFLAGS)
20 rm -rf $(TESTS) *.o .*.d *.dSYM