summaryrefslogtreecommitdiff
path: root/compiler/Makefile
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2008-07-18 19:34:54 +0000
committerIan Lynagh <igloo@earth.li>2008-07-18 19:34:54 +0000
commita9afdc24b1b2bbe63d71e8e2890770edfa8a6a8d (patch)
tree0fbb76f3408448616f5f8dbfc6fd45812de07785 /compiler/Makefile
parent5c9f239daf46aaa73e12c8b948659fa5cd7e77fb (diff)
downloadhaskell-a9afdc24b1b2bbe63d71e8e2890770edfa8a6a8d.tar.gz
More dependency wibbling
Diffstat (limited to 'compiler/Makefile')
-rw-r--r--compiler/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/compiler/Makefile b/compiler/Makefile
index 371ebb4932..00ae2c2e19 100644
--- a/compiler/Makefile
+++ b/compiler/Makefile
@@ -40,10 +40,6 @@ PRIMOP_BITS = primop-data-decl.hs-incl \
primop-strictness.hs-incl \
primop-primop-info.hs-incl
-boot :: $(CONFIG_HS)
-
-boot :: parser/Parser.y
-
boot:: boot.stage.$(stage)
all:: build.stage.$(stage)
@@ -166,7 +162,7 @@ CONFIGURE_FLAGS_STAGE1 += $(USE_BOOT_CONFIGURE_FLAGS)
CONFIGURE_FLAGS_STAGE2 += $(USE_STAGE1_CONFIGURE_FLAGS)
CONFIGURE_FLAGS_STAGE3 += $(USE_STAGE2_CONFIGURE_FLAGS)
-boot.stage.%:
+boot.stage.%: $(PRIMOP_BITS) $(CONFIG_HS) parser/Parser.y
$(CABAL) configure --distpref dist-stage$* \
$(CONFIGURE_FLAGS_STAGE$*) \
$(INSTALL_DIRS_CONFIGURE_FLAGS) \
@@ -175,7 +171,7 @@ boot.stage.%:
$(RM) -f Makefile-stage$*
$(CABAL) makefile --distpref dist-stage$* -f Makefile-stage$*
-build.stage.%: $(PRIMOP_BITS)
+build.stage.%:
$(MAKE) -f Makefile-stage$* stage=$*
$(CABAL) register --distpref dist-stage$* --inplace