plan9fox/sys/src/cmd/upas/mkfile
Ori Bernstein 03f209427b upas: make 'all' the default target
When consolidating the duplicated targets, the
one that actually got built ended up arbitrary.
Put in a 'default' target that runs 'mk all'.
2020-11-21 16:13:20 -08:00

45 lines
444 B
Makefile

</$objtype/mkfile
LIBS=common
PROGS=\
Mail\
alias\
bayes\
binscripts\
filterkit\
fs\
imap4d\
marshal\
ml\
ned\
pop3\
q\
scanmail\
send\
smtp\
spf\
unesc\
vf\
#libs must be made first
DIRS=$LIBS $PROGS
default:V:
mk all
all install installall clean nuke:V:
for (i in $DIRS) @{
cd $i
mk $target
}
safeinstallall:V:
for (i in $LIBS) @{
cd $i
mk installall
}
for (i in $PROGS) @{
cd $i
mk safeinstallall
}