mkbuild

mk based build system
git clone git://git.2f30.org/mkbuild
Log | Files | Refs | LICENSE

commit d71fc926e1435519c99302050dc0b883f5e20291
parent 12801f9178bf681e97aa6be45b384510b762a03c
Author: Daniel Bainton <dpb@driftaway.org>
Date:   Thu, 22 May 2014 22:23:24 +0300

Fix cleaning of targets inside subdirectories

Diffstat:
Mmk.clean | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mk.clean b/mk.clean @@ -5,13 +5,13 @@ clean:QV: l=`if test "$LIB" = "NOLIB"; then echo; else echo $LIB; fi ` bin_obj= for i in $BIN; do - bobj=$(echo $i|tr '.' '_') + bobj=$(echo $i|tr '.' '_'|tr '/' '_') bin_obj="$bin_obj \$${bobj}_OBJ" done bin_obj=$(eval echo $bin_obj) lib_obj= for i in $LIB; do - lobj=$(echo $i|tr '.' '_') + lobj=$(echo $i|tr '.' '_'|tr '/' '_') lib_obj="$lib_obj \$${lobj}_OBJ" done lib_obj=$(eval echo $lib_obj)