Additional fixes for dependencies on directories.

master
Luka Vandervelden 2019-07-08 04:10:04 +02:00
parent 4d49afcd52
commit 1d141a64d6
2 changed files with 2 additions and 2 deletions

View File

@ -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@:"

View File

@ -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}'"