1 #-----------------------------------------------------------------------------
2 # template for should_compile tests.
4 HS_SRCS = $(wildcard *.hs)
6 SRC_RUNTEST_OPTS += -x 0 \
7 $(foreach i,$(wildcard $*.stdout),-o1 $(i)) \
8 $(foreach i,$(wildcard $*.stderr),-o2 $(i))
11 @echo ---- Testing for successful compilation of $<
12 @$(RUNTEST) $(HC) $(RUNTEST_OPTS) -- $(HC_OPTS) -c $< -o $@