accc024441fdbb419ec62147438869f7a22fd329
[ghc-hetmet.git] / ghc / compiler / tests / typecheck / should_fail / Makefile
1 TOP = ../../../..
2 include $(TOP)/mk/boilerplate.mk
3
4 HS_SRCS = $(wildcard *.hs)
5
6 SRC_RUNTEST_OPTS += -o1 $*.stdout -o2 $*.stderr -x 1
7 HC_OPTS += -noC -ddump-tc -dppr-user
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 # Not all of them fail, allthough they're advertised as doing so..
17 tcfail021_RUNTEST_OPTS = -x 0
18 tcfail041_RUNTEST_OPTS = -x 0
19 tcfail045_HC_OPTS = -fglasgow-exts
20 tcfail059_HC_OPTS = -hi              
21 tcfail059_RUNTEST_OPTS = -x 0
22 tcfail060_HC_OPTS = -hi
23 tcfail060_RUNTEST_OPTS = -x 0
24 tcfail061_HC_OPTS = -hi
25 tcfail062_HC_OPTS = -hi
26 tcfail063_HC_OPTS = -hi
27 tcfail064_HC_OPTS = -hi
28 tcfail065_HC_OPTS = -hi
29 tcfail066_HC_OPTS = -hi
30 tcfail066_RUNTEST_OPTS = -x 0
31 tcfail067_HC_OPTS = -hi
32 tcfail068_HC_OPTS = -fglasgow-exts
33
34 include $(TOP)/mk/target.mk