TOP = ../../../.. include $(TOP)/mk/boilerplate.mk HS_SRCS = $(wildcard *.hs) SRC_RUNTEST_OPTS += -o1 $*.stdout -o2 $*.stderr -x 1 HC_OPTS += -noC -ddump-tc -dppr-user %.o : %.hs %.o : %.hs $(RUNTEST) $(HC) $(RUNTEST_OPTS) -- $(HC_OPTS) -c $< -o $@ -osuf $(subst .,,$(suffix $@)) all :: $(HS_OBJS) # Not all of them fail, allthough they're advertised as doing so.. tcfail021_RUNTEST_OPTS = -x 0 tcfail041_RUNTEST_OPTS = -x 0 tcfail045_HC_OPTS = -fglasgow-exts tcfail059_HC_OPTS = -hi tcfail059_RUNTEST_OPTS = -x 0 tcfail060_HC_OPTS = -hi tcfail060_RUNTEST_OPTS = -x 0 tcfail061_HC_OPTS = -hi tcfail062_HC_OPTS = -hi tcfail063_HC_OPTS = -hi tcfail064_HC_OPTS = -hi tcfail065_HC_OPTS = -hi tcfail066_HC_OPTS = -hi tcfail066_RUNTEST_OPTS = -x 0 tcfail067_HC_OPTS = -hi tcfail068_HC_OPTS = -fglasgow-exts include $(TOP)/mk/target.mk