-TOP = ../../../..
+TOP = ../..
include $(TOP)/mk/boilerplate.mk
+include $(TOP)/mk/should_compile.mk
-HS_SRCS = $(wildcard *.hs)
-
-SRC_RUNTEST_OPTS += -o1 $*.stdout -o2 $*.stderr -x 0
-HC_OPTS += -noC -dcore-lint
-
-%.o : %.hs
- $(RUNTEST) $(HC) $(RUNTEST_OPTS) -- $(HC_OPTS) -c $< -o $@
-
-all :: $(HS_OBJS)
+HC_OPTS += -noC -dcore-lint -fno-warn-incomplete-patterns -hi -ddump-tc
tc019_HC_OPTS = -fglasgow-exts
tc065_HC_OPTS = -syslib ghc
include $(TOP)/mk/target.mk
-
-