slightly better dependencies for GenApply.hs
authorSimon Marlow <simonmar@microsoft.com>
Mon, 27 Feb 2006 15:38:28 +0000 (15:38 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Mon, 27 Feb 2006 15:38:28 +0000 (15:38 +0000)
ghc/utils/genapply/Makefile

index 1b54fe5..41084d6 100644 (file)
@@ -16,4 +16,10 @@ ifeq "$(GhcUnregisterised)" "YES"
 SRC_HC_OPTS += -DNO_REGS
 endif
 
+# Try to get dependencies right...
+SRC_HC_OPTS += -no-recomp
+GenApply.o : $(GHC_INCLUDE_DIR)/ghcconfig.h
+GenApply.o : $(GHC_INCLUDE_DIR)/MachRegs.h
+GenApply.o : $(GHC_INCLUDE_DIR)/Constants.h
+
 include $(TOP)/mk/target.mk