aboutsummaryrefslogtreecommitdiff
path: root/j1eforth/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'j1eforth/Makefile')
-rw-r--r--j1eforth/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/j1eforth/Makefile b/j1eforth/Makefile
new file mode 100644
index 0000000..5ee12db
--- /dev/null
+++ b/j1eforth/Makefile
@@ -0,0 +1,13 @@
+all: j1 j1.bin j1.hex
+
+j1: j1.c
+ gcc -o j1 j1.c -lwpcap
+ strip -s j1
+j1.bin j1.hex: j1.4th
+ gforth ./j1.4th
+run: all
+ ./j1
+core: all
+ ./j1 core.4th
+clean:
+ rm -rf j1 j1.bin j1.hex