Convert to cabal.project
[packages/containers.git] / containers-tests / benchmarks / Makefile
1 all:
2
3 bench-%: %.hs force
4 ghc -O2 -DTESTING $< -I$(TOP)../include -i$(TOP).. -o $@ -outputdir tmp -rtsopts
5
6 .PRECIOUS: bench-%
7
8 bench-%.csv: bench-%
9 ./bench-$* "$(BENCHMARK)" -v1 --csv bench-$*.csv
10
11 .PHONY: force clean veryclean
12 force:
13
14 clean:
15 rm -rf tmp $(patsubst %.hs, bench-%, $(wildcard *.hs))
16
17 veryclean: clean
18 rm -rf *.csv