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