[project @ 1997-07-26 23:49:03 by sof]
[ghc-hetmet.git] / ghc / tests / simplCore / should_compile / Makefile
1 TOP = ../../..
2 include $(TOP)/mk/boilerplate.mk
3
4 HS_SRCS = $(wildcard *.hs)
5
6 SRC_RUNTEST_OPTS += -accept-output -o1 $*.stdout -o2 $*.stderr -x 0
7 HC_OPTS += -noC -O -ddump-simpl -dcore-lint
8
9 %.o : %.hs
10
11 %.o : %.hs
12         $(RUNTEST) $(HC) $(RUNTEST_OPTS) $(HC_OPTS) -c $< -o $@ -osuf $(subst .,,$(suffix $@)) 
13
14 all :: $(HS_OBJS)
15
16 include $(TOP)/mk/target.mk