summaryrefslogtreecommitdiff
path: root/utils/6l/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/6l/mkfile
parentb18a52b7bbe9230f3398a16cfc224f42a7cb393b (diff)
20090531-0106
Diffstat (limited to 'utils/6l/mkfile')
-rw-r--r--utils/6l/mkfile29
1 files changed, 29 insertions, 0 deletions
diff --git a/utils/6l/mkfile b/utils/6l/mkfile
new file mode 100644
index 00000000..19a65c8b
--- /dev/null
+++ b/utils/6l/mkfile
@@ -0,0 +1,29 @@
+<../../mkconfig
+
+TARG=6l
+
+OFILES=\
+ asm.$O\
+ obj.$O\
+ optab.$O\
+ pass.$O\
+ span.$O\
+ list.$O\
+ enam.$O\
+ $TARGMODEL.$O\
+
+HFILES=\
+ l.h\
+ ../6c/6.out.h\
+ ../include/ar.h\
+
+LIBS=bio 9 # order is important
+
+BIN=$ROOT/$OBJDIR/bin
+
+<$ROOT/mkfiles/mkone-$SHELLTYPE
+
+CFLAGS= $CFLAGS -I../include
+
+enam.$O: ../6c/enam.c
+ $CC $CFLAGS ../6c/enam.c