plan9port/src/mkmany

29 lines
468 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
2005-01-04 22:09:40 +00:00
$O.%: %.$O $OFILES $LIB # ${SHORTLIB:%=$LIBDIR/lib%.a}
2003-11-23 18:10:54 +00:00
$LD -o $target $prereq $LDFLAGS
%.install:V: $BIN/%
$BIN/%: $O.%
$INSTALL $O.$stem $BIN/$stem
many-install:V:
2003-11-23 18:10:54 +00:00
for i in $TARG
do
mk $MKFLAGS $i.install
done
install:V: many-install
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