X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rules%2Fbuild-prog.mk;h=c39f947f412cdc944d9171adf3d80351a17ef278;hb=679a7c41949c438c0a6ace92b0334bb795690738;hp=5c352a2f957631b73354251ce0eedad59782d8bf;hpb=6f573eb5dedb0625d1df9a6fdf9839bcaa9cba8e;p=ghc-hetmet.git diff --git a/rules/build-prog.mk b/rules/build-prog.mk index 5c352a2..c39f947 100644 --- a/rules/build-prog.mk +++ b/rules/build-prog.mk @@ -188,20 +188,6 @@ INSTALL_BINS += $1/$2/build/tmp/$$($1_$2_PROG) endif endif -# --- DEPENDENCIES -# We always have the dependency rules available, as we need to know -# how to build hsc2hs's dependency file in phase 0 -$(call build-dependencies,$1,$2,$3) -ifneq "$(phase)" "0" -# From phase 1 we actually include the dependency files for the -# bootstrapping stuff -ifeq "$3" "0" -$(call include-dependencies,$1,$2,$3) -else ifeq "$(phase)" "final" -# In the final phase, we also include the dependency files for -# everything else -$(call include-dependencies,$1,$2,$3) -endif -endif +$(call dependencies,$1,$2,$3) endef