[project @ 1998-05-06 15:10:40 by simonm]
[ghc-hetmet.git] / ghc / tests / codeGen / should_run / Makefile
index 8f072b0..2d75c34 100644 (file)
@@ -1,24 +1,13 @@
 TOP = ../..
 include $(TOP)/mk/boilerplate.mk
+include $(TOP)/mk/should_run.mk
 
-HS_SRCS = $(wildcard *.hs)
-BINS = $(patsubst %.o,%,$(HS_OBJS))
-RUNTESTS = $(patsubst %,%.run,$(BINS))
-
-SRC_RUNTEST_OPTS += -o1 $*.stdout -o2 $*.stderr -x 0
-HC_OPTS += -dcore-lint
-
-all :: $(BINS) $(RUNTESTS)
-
-%.run : %
-       $(RUNTEST) $< $(RUNTEST_OPTS)
-
-% : %.o
-       $(HC) $(HC_OPTS) $< -o $@
+SRC_HC_OPTS += -dcore-lint
 
 cg012_HC_OPTS = -fglasgow-exts
 cg015_HC_OPTS = -fglasgow-exts
 cg018_HC_OPTS = -fglasgow-exts
+cg025_HC_OPTS = -fglasgow-exts
 cg026_HC_OPTS = -fglasgow-exts
 cg029_HC_OPTS = -fglasgow-exts
 cg030_HC_OPTS = -fglasgow-exts