X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rules%2Fbuild-prog.mk;h=baa8beda67e999a6b24af455238d507595492e46;hb=5775d5142da227d65fb86994d363eb16841ee642;hp=b910e7834ce4725eaedb80492863a72e13de3ab3;hpb=19db37f32e957ddf0202439c8b8cd97470c58fec;p=ghc-hetmet.git diff --git a/rules/build-prog.mk b/rules/build-prog.mk index b910e78..baa8bed 100644 --- a/rules/build-prog.mk +++ b/rules/build-prog.mk @@ -54,6 +54,8 @@ endif $(call package-config,$1,$2,$3) +$1_$2_depfile_base = $1/$2/build/.depend + ifeq "$$($1_$2_INSTALL_INPLACE)" "NO" ifeq "$(findstring clean,$(MAKECMDGOALS))" "" $1_$2_INPLACE = $$(error $1_$2 should not be installed inplace, but INPLACE var evaluated) @@ -156,8 +158,6 @@ $(call c-sources,$1,$2) # --- DEPENDENCIES -$1_$2_depfile_base = $1/$2/build/.depend - $(call build-dependencies,$1,$2,$3) # --- IMPLICIT RULES