summaryrefslogtreecommitdiff
path: root/compiler/ghc.mk
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2009-05-29 15:19:34 +0000
committerSimon Marlow <marlowsd@gmail.com>2009-05-29 15:19:34 +0000
commit52ed0609e8583a607676527d737ea1ba754deb3c (patch)
treed4c1520853e884f3a4e737497a4d6221c1fd9b47 /compiler/ghc.mk
parentfce6c28071259f68ec0be5bb53abd2ee36123e92 (diff)
downloadhaskell-52ed0609e8583a607676527d737ea1ba754deb3c.tar.gz
depend on mk/project.mk appropriately
Diffstat (limited to 'compiler/ghc.mk')
-rw-r--r--compiler/ghc.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/ghc.mk b/compiler/ghc.mk
index 5b59bbefb7..416d7bfc94 100644
--- a/compiler/ghc.mk
+++ b/compiler/ghc.mk
@@ -35,7 +35,7 @@ compiler/stage2/package-data.mk : $(compiler_CONFIG_HS)
compiler/stage3/package-data.mk : $(compiler_CONFIG_HS)
endif
-$(compiler_CONFIG_HS) : mk/config.mk
+$(compiler_CONFIG_HS) : mk/config.mk mk/project.mk
"$(RM)" $(RM_OPTS) $@
@echo "Creating $@ ... "
@echo "module Config where" >>$@
@@ -141,7 +141,7 @@ $(eval $(call clean-target,compiler,config_hs,$(compiler_CONFIG_HS)))
PLATFORM_H = ghc_boot_platform.h
-compiler/stage1/$(PLATFORM_H) : mk/config.mk
+compiler/stage1/$(PLATFORM_H) : mk/config.mk mk/project.mk
"$(MKDIRHIER)" $(dir $@)
"$(RM)" $(RM_OPTS) $@
@echo "Creating $@..."
@@ -188,7 +188,7 @@ endif
# For stage2 and above, the BUILD platform is the HOST of stage1, and
# the HOST platform is the TARGET of stage1. The TARGET remains the same
# (stage1 is the cross-compiler, not stage2).
-compiler/stage2/$(PLATFORM_H) : mk/config.mk
+compiler/stage2/$(PLATFORM_H) : mk/config.mk mk/project.mk
"$(MKDIRHIER)" $(dir $@)
"$(RM)" $(RM_OPTS) $@
@echo "Creating $@..."