From: sof Date: Mon, 26 May 1997 01:54:54 +0000 (+0000) Subject: [project @ 1997-05-26 01:54:54 by sof] X-Git-Tag: Approximately_1000_patches_recorded~549 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=17f3069df44b1fadcd21af7524516e8ef347b3de;p=ghc-hetmet.git [project @ 1997-05-26 01:54:54 by sof] Use new Makefile setup --- diff --git a/ghc/compiler/tests/typecheck/stress/Makefile b/ghc/compiler/tests/typecheck/stress/Makefile index 4782dae..641ad12 100644 --- a/ghc/compiler/tests/typecheck/stress/Makefile +++ b/ghc/compiler/tests/typecheck/stress/Makefile @@ -1,5 +1,16 @@ -TOP = ../../../../.. -GhcRunTestRules = YES -include $(TOP)/ghc/mk/ghc.mk +TOP = ../../../.. +include $(TOP)/mk/boilerplate.mk -runtests :: $(patsubst %.hs, %.runtest, $(wildcard *.hs)) +HS_SRCS = $(wildcard *.hs) + +SRC_RUNTEST_OPTS += -o1 $*.stdout -o2 $*.stderr -x 0 +HC_OPTS += -noC -ddump-tc -dcore-lint -hi + +%.o : %.hs + +%.o : %.hs + $(RUNTEST) $(HC) $(RUNTEST_OPTS) -- $(HC_OPTS) -c $< -o $@ -osuf $(subst .,,$(suffix $@)) + +all :: $(HS_OBJS) + +include $(TOP)/mk/target.mk