[project @ 1997-09-05 14:11:05 by simonm]
[ghc-hetmet.git] / ghc / tests / stranal / should_compile / Makefile
index 4cecde8..525335c 100644 (file)
@@ -1,16 +1,7 @@
-TOP = ../../..
+TOP = ../..
 include $(TOP)/mk/boilerplate.mk
+include $(TOP)/mk/should_compile.mk
 
-HS_SRCS = $(wildcard *.lhs)
-
-SRC_RUNTEST_OPTS += -accept-output -o1 $*.stdout -o2 $*.stderr -x 0
 HC_OPTS += -noC -O -ddump-simpl -dcore-lint -dppr-user
 
-%.o : %.lhs
-
-%.o : %.lhs
-       $(RUNTEST) $(HC) $(RUNTEST_OPTS) -- $(HC_OPTS) -c $< -o $@ -osuf $(subst .,,$(suffix $@)) 
-
-all :: $(HS_OBJS)
-
 include $(TOP)/mk/target.mk