parent
3177b525a0
commit
971ba41c1b
|
@ -6,7 +6,12 @@ function crystal.prelude {
|
|||
}
|
||||
|
||||
function crystal.build {
|
||||
write "${target}: ${src[@]} ${depends[$target]} $(dirdep $target)"
|
||||
write -n "${target}: ${src[@]}"
|
||||
for i in ${depends[$target]}; do
|
||||
v=$(echo ${i} | tr '\n' ' ')
|
||||
write -n " ${v}"
|
||||
done
|
||||
write " $(dirdep $target)"
|
||||
write "\t@echo '${fg_bold[magenta]} CR > ${fg_bold[white]}$target${reset_color}'"
|
||||
write "\t${Q}crystal build ${crflags[$target]} \$(CRFLAGS) ${src[@]} -o '${target}'"
|
||||
|
||||
|
|
Loading…
Reference in New Issue