[project @ 1997-12-17 13:10:30 by simonm]
[ghc-hetmet.git] / ghc / tests / mk / should_fail.mk
1 #-----------------------------------------------------------------------------
2 # template for should_fail tests
3
4 HS_SRCS = $(wildcard *.hs)
5
6 SRC_RUNTEST_OPTS += -o1 $*.stdout -o2 $*.stderr -x 1
7
8 %.o : %.hs
9         @echo ---- Testing for failure to compile $<
10         @$(RUNTEST) $(HC) $(RUNTEST_OPTS) -- $(HC_OPTS) -c $< -o $@
11
12 all :: $(HS_OBJS)