summaryrefslogtreecommitdiff
path: root/utils/5c/mkfile
diff options
context:
space:
mode:
Diffstat (limited to 'utils/5c/mkfile')
-rw-r--r--utils/5c/mkfile30
1 files changed, 30 insertions, 0 deletions
diff --git a/utils/5c/mkfile b/utils/5c/mkfile
new file mode 100644
index 00000000..a0f53c45
--- /dev/null
+++ b/utils/5c/mkfile
@@ -0,0 +1,30 @@
+<../../mkconfig
+
+TARG=5c
+
+OFILES=\
+ cgen.$O\
+ enam.$O\
+ list.$O\
+ mul.$O\
+ peep.$O\
+ reg.$O\
+ sgen.$O\
+ swt.$O\
+ txt.$O\
+
+HFILES=\
+ gc.h\
+ 5.out.h\
+ ../cc/cc.h\
+
+LIBS=cc bio 9 # order is important
+
+BIN=$ROOT/$OBJDIR/bin
+
+<$ROOT/mkfiles/mkone-$SHELLTYPE
+
+$ROOT/$OBJDIR/lib/libcc.a:
+ cd ../cc
+ mk $MKFLAGS install
+ mk $MKFLAGS clean