shithub: mc

ref: d0331c3cfb6f27afe416b9cdb7b15e18b9083e3e
dir: /bench/Makefile/

View raw version
BIN=runner
OBJ=runner.o
BENCHSRC=intsort.myr \
	 copious-allocs.myr \

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

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

.PHONY: cleanbuild
cleanbuild:
	rm -f $(BENCHSRC:.myr=) $(BENCHSRC:.myr=.o) $(BENCHSRC:.myr=.use)
	@for i in $(BENCHSRC:.myr=); do \
	    ../myrbuild/myrbuild -b $$i  -C../6/6m -M../muse/muse -I../libstd -r../rt/_myrrt.o $$i.myr; \
	done