aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNebula Moe <nebula_moe@outlook.com>2023-07-24 19:47:03 +0800
committerNebula Moe <nebula_moe@outlook.com>2023-07-28 22:30:22 +0800
commit2161797b19b068622a692628f352c78254d8a354 (patch)
tree146272037ff9a79dbd3903dd9471a7713469419d /Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..4605125
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,8 @@
+brainfuck: brainfuck.c htable.c crc32.c
+ gcc -O3 $^ -o $@
+
+run: brainfuck
+ ./brainfuck helloworld.bf
+
+clean:
+ -rm brainfuck