summaryrefslogtreecommitdiff
path: root/utils/2l/mkfile
diff options
context:
space:
mode:
Diffstat (limited to 'utils/2l/mkfile')
-rw-r--r--utils/2l/mkfile26
1 files changed, 26 insertions, 0 deletions
diff --git a/utils/2l/mkfile b/utils/2l/mkfile
new file mode 100644
index 00000000..c52b5ce7
--- /dev/null
+++ b/utils/2l/mkfile
@@ -0,0 +1,26 @@
+<../../mkconfig
+
+TARG=2l
+OFILES=\
+ asm.$O\
+ obj.$O\
+ optab.$O\
+ pass.$O\
+ span.$O\
+ list.$O\
+ enam.$O\
+ $TARGMODEL.$O\
+
+HFILES=\
+ l.h\
+ ../2c/2.out.h\
+ ../include/ar.h\
+
+LIBS=bio 9
+BIN=$ROOT/$OBJDIR/bin
+<$ROOT/mkfiles/mkone-$SHELLTYPE
+
+CFLAGS= $CFLAGS -I ../include
+
+enam.$O: ../2c/enam.c
+ $CC $CFLAGS ../2c/enam.c