[project @ 1998-05-06 15:10:40 by simonm]
[ghc-hetmet.git] / ghc / tests / deriving / should_fail / Makefile
index fb0a5f3..814df45 100644 (file)
@@ -1,14 +1,7 @@
-TOP = ../../../..
+TOP = ../..
 include $(TOP)/mk/boilerplate.mk
+include $(TOP)/mk/should_fail.mk
 
-HS_SRCS = $(wildcard *.hs)
-
-SRC_RUNTEST_OPTS += -o1 $*.stdout -o2 $*.stderr -x 1
-HC_OPTS += -noC
-
-%.o : %.hs
-       $(RUNTEST) $(HC) $(RUNTEST_OPTS) -- $(HC_OPTS) -c $< -o $@
-
-all :: $(HS_OBJS)
+SRC_HC_OPTS += -noC
 
 include $(TOP)/mk/target.mk