[project @ 1997-09-04 12:54:24 by simonm]
[ghc-hetmet.git] / ghc / tests / deriving / should_compile / 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 -dcore-lint -hi -ddump-tc 
8
9 %.o : %.hs
10         $(RUNTEST) $(HC) $(RUNTEST_OPTS) $(HC_OPTS) -c $< -o $@ -osuf $(subst .,,$(suffix $@)) 
11
12 all :: $(HS_OBJS)
13
14 include $(TOP)/mk/target.mk
15