X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;ds=sidebyside;f=ghc%2Ftests%2FsimplCore%2Fshould_compile%2FMakefile;fp=ghc%2Ftests%2FsimplCore%2Fshould_compile%2FMakefile;h=33d237f323056ccfc37bc4ba9cc9dc255c5be08f;hb=80d19100a3aabd62ece8582332d6b5ea6f66bdf5;hp=ee2596f5ce3a2ed0c888372a25d9c0d3ef039813;hpb=e3f0d880b7b74ed95059a8cddf3edf3e0d2f83c6;p=ghc-hetmet.git diff --git a/ghc/tests/simplCore/should_compile/Makefile b/ghc/tests/simplCore/should_compile/Makefile index ee2596f..33d237f 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) +HC_OPTS += -noC -dcore-lint -ddump-simpl -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