1
0
mirror of git://git.2f30.org/morpheus.git synced 2024-06-30 21:51:22 +00:00
morpheus/build/mk.clean
2014-04-02 07:31:14 +01:00

14 lines
471 B
Plaintext

clean:QV:
t=`if test "$TARG" = "NOTARG"; then echo; else echo $TARG; fi `
b=`if test "$BIN" = "NOBIN"; then echo; else echo $BIN; fi `
l=`if test "$LIB" = "NOLIB"; then echo; else echo $LIB; fi `
bin_obj=
for i in $BIN; do
bobj=$(echo $i|tr '.' '_')
bin_obj="$bin_obj \$${bobj}_OBJ"
done
bin_obj=$(eval echo $bin_obj)
echo rm -f $t $b $OBJ $bin_obj $l $LOBJ $CLEAN_FILES .targs.mk .deps.mk
rm -f $t $b $OBJ $bin_obj $l $LOBJ $CLEAN_FILES .targs.mk .deps.mk