[project @ 1997-07-27 09:27:45 by sof]
[ghc-hetmet.git] / ghc / compiler / tests / deSugar / Makefile
1 TOP = ../../..
2 include $(TOP)/mk/boilerplate.mk
3
4 HS_SRCS = $(wildcard *.hs)
5 SRC_RUNTEST_OPTS += -o1 $*.stdout -o2 $*.stderr -x 0
6
7 ds014a_RUNTEST_OPTS = -x 1
8 ds025_RUNTEST_OPTS  = -x 1
9 ds035_RUNTEST_OPTS  = -x 1
10 ds038_RUNTEST_OPTS  = -x 1
11 ds040_RUNTEST_OPTS  = -x 1
12
13 %.o : %.hs
14
15 %.o : %.hs
16         $(RUNTEST) $(HC) $(RUNTEST_OPTS) $(HC_OPTS) -c $< -o $@ -osuf $(subst .,,$(suffix $@)) 
17
18 all :: $(HS_OBJS)
19
20 #SUBDIRS = cvh-ds-unboxed
21
22 # These options apply to all tests
23 HC_OPTS += -noC -ddump-ds -dcore-lint
24
25 ds030_HC_OPTS = -dppr-all
26 ds035_HC_OPTS = -fglasgow-exts
27 ds039_HC_OPTS = -dppr-all
28
29 include $(TOP)/mk/target.mk