diff options
Diffstat (limited to 'src/cmd/upas/ml/mkfile')
-rw-r--r-- | src/cmd/upas/ml/mkfile | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/src/cmd/upas/ml/mkfile b/src/cmd/upas/ml/mkfile index 5142e56f..1a384108 100644 --- a/src/cmd/upas/ml/mkfile +++ b/src/cmd/upas/ml/mkfile @@ -1,4 +1,4 @@ -</$objtype/mkfile +<$PLAN9/src/mkhdr TARG=ml\ mlowner\ @@ -16,25 +16,17 @@ UHFILES= ../common/common.h\ HFILES=$UHFILES\ ../smtp/y.tab.h\ -LIB=../common/libcommon.a$O\ +LIB=../common/libcommon.a -BIN=/$objtype/bin/upas - -UPDATE=\ - mkfile\ - $UHFILES\ - ${TARG:%=%.c}\ - ${OFILES:%.$O=%.c}\ - ../smtp/rfc822.y\ - -</sys/src/cmd/mkmany +BIN=$BIN/upas +<$PLAN9/src/mkmany CFLAGS=$CFLAGS -I../common $O.ml: ../smtp/rfc822.tab.$O $O.mlowner: ../smtp/rfc822.tab.$O ../smtp/y.tab.h ../smtp/rfc822.tab.$O: - @{ + ( cd ../smtp mk rfc822.tab.$O - } + ) |