summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Marlow <simonmar@microsoft.com>2006-02-27 15:38:28 +0000
committerSimon Marlow <simonmar@microsoft.com>2006-02-27 15:38:28 +0000
commit05c78624cfbab4cbfd461619c7b5e383ac41b298 (patch)
treea465a15e7a0eca1542d0996dc9e33d809431e083
parentddb2e508c45dabf52d61cb019b0aead66e5ffaf7 (diff)
downloadhaskell-05c78624cfbab4cbfd461619c7b5e383ac41b298.tar.gz
slightly better dependencies for GenApply.hs
-rw-r--r--ghc/utils/genapply/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/ghc/utils/genapply/Makefile b/ghc/utils/genapply/Makefile
index 1b54fe53f9..41084d6c5c 100644
--- a/ghc/utils/genapply/Makefile
+++ b/ghc/utils/genapply/Makefile
@@ -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