summaryrefslogtreecommitdiff
path: root/utils/kc/mkfile
diff options
context:
space:
mode:
Diffstat (limited to 'utils/kc/mkfile')
-rw-r--r--utils/kc/mkfile32
1 files changed, 32 insertions, 0 deletions
diff --git a/utils/kc/mkfile b/utils/kc/mkfile
new file mode 100644
index 00000000..26f16f10
--- /dev/null
+++ b/utils/kc/mkfile
@@ -0,0 +1,32 @@
+<../../mkconfig
+
+TARG=kc
+
+OFILES=\
+ peep.$O\
+ reg.$O\
+ cgen.$O\
+ enam.$O\
+ list.$O\
+ sgen.$O\
+ swt.$O\
+ txt.$O\
+ mul.$O\
+
+HFILES=\
+ gc.h\
+ k.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