TOP=../.. include $(TOP)/mk/boilerplate.mk include $(TOP)/mk/test.mk .PHONY: gadt17 gadt23 # A multi-module test that made GHC 6.4.1 crash gadt17: @$(RM) gadt17.hi Gadt17_help.hi @$(RM) A$(OBJSUFFIX) '$(TEST_HC)' $(TEST_HC_OPTS) -c Gadt17_help.hs '$(TEST_HC)' $(TEST_HC_OPTS) -c gadt17.hs T7321: @$(RM) T7321a.hi T7321.hi '$(TEST_HC)' $(TEST_HC_OPTS) -c T7321a.hs '$(TEST_HC)' $(TEST_HC_OPTS) -c T7321.hs gadt23: $(RM) gadt23 gadt23.hi gadt23.o Gadt23_AST.hi Gadt23_AST.o '$(TEST_HC)' $(TEST_HC_OPTS) -v0 --make gadt23.hs # Append a blank line to gadt23.hs to trigger a recompile echo >> gadt23.hs '$(TEST_HC)' $(TEST_HC_OPTS) -v0 --make gadt23.hs