summaryrefslogtreecommitdiff
path: root/utils/tc/mkfile
diff options
context:
space:
mode:
Diffstat (limited to 'utils/tc/mkfile')
-rw-r--r--utils/tc/mkfile28
1 files changed, 28 insertions, 0 deletions
diff --git a/utils/tc/mkfile b/utils/tc/mkfile
new file mode 100644
index 00000000..60863925
--- /dev/null
+++ b/utils/tc/mkfile
@@ -0,0 +1,28 @@
+<../../mkconfig
+
+TARG=tc
+
+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