summaryrefslogtreecommitdiff
path: root/bench/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'bench/Makefile')
-rw-r--r--bench/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/bench/Makefile b/bench/Makefile
new file mode 100644
index 0000000..c94452b
--- /dev/null
+++ b/bench/Makefile
@@ -0,0 +1,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)