aboutsummaryrefslogtreecommitdiff
path: root/interpreters/Makefile
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2016-12-22 22:58:20 +0100
committerPřemysl Janouch <p.janouch@gmail.com>2016-12-22 23:26:41 +0100
commit128fb157b302f0f0881844fc7a2fa5653c74a197 (patch)
tree93f342b5a7a195af211f17ab7044bac2064b81fc /interpreters/Makefile
downloadbfc-128fb157b302f0f0881844fc7a2fa5653c74a197.tar.gz
bfc-128fb157b302f0f0881844fc7a2fa5653c74a197.tar.xz
bfc-128fb157b302f0f0881844fc7a2fa5653c74a197.zip
Initial commit
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