summaryrefslogtreecommitdiff
path: root/utils/ql/mkfile
diff options
context:
space:
mode:
Diffstat (limited to 'utils/ql/mkfile')
-rw-r--r--utils/ql/mkfile33
1 files changed, 33 insertions, 0 deletions
diff --git a/utils/ql/mkfile b/utils/ql/mkfile
new file mode 100644
index 00000000..19391282
--- /dev/null
+++ b/utils/ql/mkfile
@@ -0,0 +1,33 @@
+<../../mkconfig
+
+TARG=ql
+
+OFILES=\
+ asm.$O\
+ list.$O\
+ obj.$O\
+ optab.$O\
+ pass.$O\
+ span.$O\
+ enam.$O\
+ noop.$O\
+ asmout.$O\
+ cnam.$O\
+ sched.$O\
+ $TARGMODEL.$O\
+
+HFILES=\
+ l.h\
+ ../qc/q.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: ../qc/enam.c
+ $CC $CFLAGS ../qc/enam.c