[project @ 1997-09-05 14:11:05 by simonm]
[ghc-hetmet.git] / ghc / tests / typecheck / should_compile / Makefile
index fc964d8..0526897 100644 (file)
@@ -1,19 +1,10 @@
-TOP = ../../../..
+TOP = ../..
 include $(TOP)/mk/boilerplate.mk
+include $(TOP)/mk/should_compile.mk
 
-HS_SRCS = $(wildcard *.hs)
-
-SRC_RUNTEST_OPTS += -o1 $*.stdout -o2 $*.stderr -x 0
-HC_OPTS += -noC -dcore-lint
-
-%.o : %.hs
-       $(RUNTEST) $(HC) $(RUNTEST_OPTS) -- $(HC_OPTS) -c $< -o $@ 
-
-all :: $(HS_OBJS)
+HC_OPTS += -noC -dcore-lint -fno-warn-incomplete-patterns -hi -ddump-tc
 
 tc019_HC_OPTS = -fglasgow-exts
 tc065_HC_OPTS = -syslib ghc
 
 include $(TOP)/mk/target.mk
-
-