aboutsummaryrefslogtreecommitdiff
path: root/interpreters/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'interpreters/Makefile')
-rw-r--r--interpreters/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/interpreters/Makefile b/interpreters/Makefile
new file mode 100644
index 0000000..3e73cf5
--- /dev/null
+++ b/interpreters/Makefile
@@ -0,0 +1,14 @@
+CC = c99
+CFLAGS = -O3
+
+NAMES = bf bf-faster-loops bf-optimizing \
+ bf-jit bf-jit-opt bf-jit-unsafe bf-jit-unsafe-opt
+
+all: $(NAMES)
+
+%: %.c
+ $(CC) $(CPPFLAGS) $(CFLAGS) $< -o $@
+clean:
+ rm -f $(NAMES)
+
+.PHONY: all clean