C-binaries related bugfix.

This commit is contained in:
Luka Vandervelden 2016-04-23 01:29:36 +02:00
parent d0a163dcec
commit ffb382d998

View File

@ -47,17 +47,12 @@ function binary.uninstall {
} }
function binary.clean { function binary.clean {
for target in ${targets[@]}; do write -n "${target}.clean: "
write -n " ${target}.clean"
(
typeset -a src
src=($(echo ${sources[$target]})) src=($(echo ${sources[$target]}))
for file in ${src[@]}; do for file in ${src[@]}; do
write -n " ${file%.c}.o.clean" write -n " ${file%.c}.o.clean"
done done
)
done
write "\t@echo '$(RM ${target})'" write "\t@echo '$(RM ${target})'"
write "\t${Q}rm -f ${target}" write "\t${Q}rm -f ${target}"