summaryrefslogtreecommitdiff
path: root/utils/6a/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/6a/mkfile
parentb18a52b7bbe9230f3398a16cfc224f42a7cb393b (diff)
20090531-0106
Diffstat (limited to 'utils/6a/mkfile')
-rw-r--r--utils/6a/mkfile30
1 files changed, 30 insertions, 0 deletions
diff --git a/utils/6a/mkfile b/utils/6a/mkfile
new file mode 100644
index 00000000..edddb357
--- /dev/null
+++ b/utils/6a/mkfile
@@ -0,0 +1,30 @@
+<../../mkconfig
+
+TARG=6a
+
+OFILES=\
+ y.tab.$O\
+ lex.$O\
+
+HFILES=\
+ ../6c/6.out.h\
+ y.tab.h\
+ a.h\
+
+YFILES=a.y\
+
+LIBS=cc bio 9 # order is important
+
+BIN=$ROOT/$OBJDIR/bin
+
+<$ROOT/mkfiles/mkone-$SHELLTYPE
+
+YFLAGS=-D1 -d
+CFLAGS= $CFLAGS -I../include
+
+lex.$O: ../cc/macbody ../cc/lexbody
+
+$ROOT/$OBJDIR/lib/libcc.a:
+ cd ../cc
+ mk $MKFLAGS install
+ mk $MKFLAGS clean