X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Ftests%2FsimplCore%2Fshould_compile%2FMakefile;h=dd2f07a7725e896b56763142e61280f96442284f;hb=5c07b5d2f92b49123cb4d2f055ec1920bb8f7cf8;hp=ee2596f5ce3a2ed0c888372a25d9c0d3ef039813;hpb=c2a15491720e35d531ccc7cc959491b00782f369;p=ghc-hetmet.git diff --git a/ghc/tests/simplCore/should_compile/Makefile b/ghc/tests/simplCore/should_compile/Makefile index ee2596f..dd2f07a 100644 --- a/ghc/tests/simplCore/should_compile/Makefile +++ b/ghc/tests/simplCore/should_compile/Makefile @@ -1,16 +1,9 @@ -TOP = ../../.. +TOP = ../.. include $(TOP)/mk/boilerplate.mk +include $(TOP)/mk/should_compile.mk -HS_SRCS = $(wildcard *.hs) +SRC_HC_OPTS += -noC -dcore-lint -package concurrent -SRC_RUNTEST_OPTS += -accept-output -o1 $*.stdout -o2 $*.stderr -x 0 -HC_OPTS += -noC -O -ddump-simpl -dcore-lint - -%.o : %.hs - -%.o : %.hs - $(RUNTEST) $(HC) $(RUNTEST_OPTS) $(HC_OPTS) -c $< -o $@ -osuf $(subst .,,$(suffix $@)) +include $(TOP)/mk/target.mk -all :: $(HS_OBJS) -include $(TOP)/mk/target.mk