Additional fixes for dependencies on directories.
parent
4d49afcd52
commit
1d141a64d6
|
@ -1,6 +1,6 @@
|
|||
|
||||
function library.build {
|
||||
write -n "${target}: ${target}.so ${target}.a $(dirname $target)"
|
||||
write -n "${target}: ${target}.so ${target}.a $(dirdep $target)"
|
||||
write
|
||||
write "\t@:"
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ function moon.build {
|
|||
fi
|
||||
|
||||
if [[ -n "${S}" ]]; then
|
||||
write " ${S} $(dirname $target)"
|
||||
write " ${S} $(dirdep $target)"
|
||||
write "\t@echo '$(MOON "${target}")'"
|
||||
if [[ -z "${install[$target]}" ]]; then
|
||||
write "\t${Q}echo '#!/usr/bin/env lua' > '${target}'"
|
||||
|
|
Loading…
Reference in New Issue