plan9port/src/mkmany

27 lines
407 B
Text
Raw Normal View History

2003-11-23 18:10:54 +00:00
none:VQ:
echo usage: mk all, install, installall, '$O'.cmd, cmd.install, or cmd.installall
PROGS=${TARG:%=$O.%}
2003-11-23 18:10:54 +00:00
all:V: $PROGS
$O.%: %.$O $OFILES $LIB
$LD -o $target $prereq $LDFLAGS
%.install:V: $BIN/%
$BIN/%: $O.%
$INSTALL $O.$stem $BIN/$stem
install:V:
for i in $TARG
do
mk $MKFLAGS $i.install
done
CLEANFILES=$CLEANFILES $PROGS
NUKEFILES=$NUKEFILES ${TARG:%=$BIN/%}
2003-11-23 18:10:54 +00:00
<$PLAN9/src/mkcommon
2003-11-23 18:10:54 +00:00