[project @ 1997-05-26 01:54:54 by sof]
authorsof <unknown>
Mon, 26 May 1997 01:54:54 +0000 (01:54 +0000)
committersof <unknown>
Mon, 26 May 1997 01:54:54 +0000 (01:54 +0000)
Use new Makefile setup

ghc/compiler/tests/typecheck/stress/Makefile

index 4782dae..641ad12 100644 (file)
@@ -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