[project @ 1997-06-18 23:52:36 by simonpj]
[ghc-hetmet.git] / ghc / compiler / tests / typecheck / should_succeed / 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 0
7 HC_OPTS += -noC -ddump-tc -dcore-lint -hi
8
9 # Expect failure.  Why aren't they in "should-fail"?
10 tc075_RUNTEST_OPTS += -x 1
11 tc080_RUNTEST_OPTS += -x 1
12
13 %.o : %.hs
14
15 %.o : %.hs
16         $(RUNTEST) $(HC) $(RUNTEST_OPTS) -- $(HC_OPTS) -c $< -o $@ 
17
18 all :: $(HS_OBJS)
19
20 tc019_HC_OPTS = -fglasgow-exts
21 tc065_HC_OPTS = -syslib ghc
22
23 include $(TOP)/mk/target.mk
24
25