X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=utils%2Fgenapply%2FMakefile;h=a017547c700ecbbbc18e0e8a9fdbcb812928d57c;hb=c7344a639519b0ecd4ac24252ebc13ffdd3e9bd7;hp=39903cf584012ce75f4c26bd2c21fbff058caf06;hpb=329b02ee067c93031866854884f0a57d0e93b193;p=ghc-hetmet.git diff --git a/utils/genapply/Makefile b/utils/genapply/Makefile index 39903cf..a017547 100644 --- a/utils/genapply/Makefile +++ b/utils/genapply/Makefile @@ -12,10 +12,22 @@ ifeq "$(GhcUnregisterised)" "YES" SRC_HC_OPTS += -DNO_REGS endif +ifeq "$(ghc_ge_607)" "YES" +SRC_HC_OPTS += -package pretty +endif + # Try to get dependencies right... +ifeq "$(ghc_ge_605)" "YES" +SRC_HC_OPTS += -fforce-recomp +else SRC_HC_OPTS += -no-recomp +endif + GenApply.o : $(GHC_INCLUDE_DIR)/ghcconfig.h GenApply.o : $(GHC_INCLUDE_DIR)/MachRegs.h GenApply.o : $(GHC_INCLUDE_DIR)/Constants.h +binary-dist: + @: + include $(TOP)/mk/target.mk