(test -e upstream/$*/patches && cd upstream/$*/src && for A in ../patches/*.patch; do patch -p0 < $$A; done); true
touch $@
-.configure_%_$(target): download_%
+.configure_%_$(target): .download_%
@echo -e "\n\033[1mconfiguring $*...\033[0m"
mkdir -p upstream/$*/build-$(target)
cd upstream/$*/build-$(target); \
$(configure_$*-$(target))
touch $@
-install_%: .install_%_$(target); @true
-.install_%_$(target): .configure_%
+.install_%_$(target): .configure_%_$(target)
@echo -e "\n\033[1mbuilding $*...\033[0m"
cd upstream/$*/build-$(target); $(setcc) PATH=$$PATH:`pwd`/../../install/bin make
@echo -e "\n\033[1minstalling $*...\033[0m"