summaryrefslogtreecommitdiff
path: root/bench/Makefile
blob: c94452b059063f18e17d0b764b314a0b20ef14fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
BIN=runner
OBJ=runner.o
BENCHSRC=intsort.myr
BENCHUTIL=

include ../config.mk
include ../mk/c.mk

bench: runner $(BENCHSRC:.myr=)
	./runner $(BENCHSRC:.myr=)

$(BENCHSRC:.myr=): $(BENCHSRC) $(BENCHUTIL)
	../myrbuild/myrbuild -b $@ $@.myr $(BENCHUTIL)