Simplify the build system, and remove 2 phases
[ghc-hetmet.git] / rules / c-suffix-rules.mk
index cc7c219..fa7dd6f 100644 (file)
@@ -17,6 +17,8 @@ define c-suffix-rules
 # $3 = way
 # $4 = use GHC (YES/NO)
 
+ifneq "$$(BINDIST)" "YES"
+
 # UseGhcForCc is only relevant when not booting from HC files.
 ifeq "$4 $$(BootingFromHc)" "YES NO"
 
@@ -57,5 +59,7 @@ $1/$2/build/%.$$($3_way_)s : $1/$2/build/%.c
 
 endif
 
+endif
+
 endef