mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
28 lines
468 B
Text
28 lines
468 B
Text
none:VQ:
|
|
echo usage: mk all, install, installall, '$O'.cmd, cmd.install, or cmd.installall
|
|
|
|
PROGS=${TARG:%=$O.%}
|
|
|
|
all:V: $PROGS
|
|
|
|
$O.%: %.$O $OFILES $LIB # ${SHORTLIB:%=$LIBDIR/lib%.a}
|
|
$LD -o $target $prereq $LDFLAGS
|
|
|
|
%.install:V: $BIN/%
|
|
|
|
$BIN/%: $O.%
|
|
$INSTALL $O.$stem $BIN/$stem
|
|
|
|
many-install:V:
|
|
for i in $TARG
|
|
do
|
|
mk $MKFLAGS $i.install
|
|
done
|
|
|
|
install:V: many-install
|
|
|
|
CLEANFILES=$CLEANFILES $PROGS
|
|
NUKEFILES=$NUKEFILES ${TARG:%=$BIN/%}
|
|
|
|
<$PLAN9/src/mkcommon
|
|
|