bc76d4598cdf56c0ed079c38937ee2e03b583cea
[ghc-hetmet.git] / ghc / compiler / tests / printing / 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 -ddump-tc -dcore-lint -hi
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 print002_HC_OPTS = -fno-implicit-prelude -dppr-user -ddump-rdr -ddump-tc
17
18 include $(TOP)/mk/target.mk
19