summaryrefslogtreecommitdiff
path: root/utils/6l/mkfile
diff options
context:
space:
mode:
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