summaryrefslogtreecommitdiff
path: root/utils/kc/mkfile
diff options
context:
space:
mode:
Diffstat (limited to 'utils/kc/mkfile')
-rw-r--r--utils/kc/mkfile8
1 files changed, 8 insertions, 0 deletions
diff --git a/utils/kc/mkfile b/utils/kc/mkfile
index 26f16f10..584143cd 100644
--- a/utils/kc/mkfile
+++ b/utils/kc/mkfile
@@ -4,6 +4,8 @@ TARG=kc
OFILES=\
peep.$O\
+ pgen.$O\
+ pswt.$O\
reg.$O\
cgen.$O\
enam.$O\
@@ -30,3 +32,9 @@ $ROOT/$OBJDIR/lib/libcc.a:
cd ../cc
mk $MKFLAGS install
mk $MKFLAGS clean
+
+%.$O: ../cc/%.c
+ $CC $CFLAGS -I. ../cc/$stem.c
+
+#enam.c: k.out.h
+# rc mkenam