summaryrefslogtreecommitdiff
path: root/utils/6c/mkfile
diff options
context:
space:
mode:
authorCharles.Forsyth <devnull@localhost>2009-05-31 00:07:21 +0000
committerCharles.Forsyth <devnull@localhost>2009-05-31 00:07:21 +0000
commitb370703f35244a5152bf72daf6a871fba74ed373 (patch)
tree5eccdee9672ff9c51740fe9c8b933a21ccfdf7e4 /utils/6c/mkfile
parentb18a52b7bbe9230f3398a16cfc224f42a7cb393b (diff)
20090531-0106
Diffstat (limited to 'utils/6c/mkfile')
-rw-r--r--utils/6c/mkfile35
1 files changed, 35 insertions, 0 deletions
diff --git a/utils/6c/mkfile b/utils/6c/mkfile
new file mode 100644
index 00000000..cf805c22
--- /dev/null
+++ b/utils/6c/mkfile
@@ -0,0 +1,35 @@
+<../../mkconfig
+
+TARG=6ca
+TARG=6c
+
+OFILES=\
+ cgen.$O\
+ enam.$O\
+ list.$O\
+ sgen.$O\
+ swt.$O\
+ txt.$O\
+ reg.$O\
+ peep.$O\
+ machcap.$O\
+ div.$O\
+ mul.$O\
+
+HFILES=\
+ gc.h\
+ 6.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