1 #################################################################################
5 # ghc/tests/programs standard target rules
7 #################################################################################
10 $(TEST_PROG) : $(OBJS)
11 $(HC) $(HC_OPTS) $(OBJS) -o $(TEST_PROG)
14 runtest : $(TEST_PROG)
16 $(addprefix -i ,$(wildcard $(TEST_PROG).stdin)) \
17 $(addprefix -o1 ,$(wildcard $(TEST_PROG).stdout)) \
18 $(addprefix -o2 ,$(wildcard $(TEST_PROG).stderr)) \
21 # Include standard boilerplate
22 # We do this at the end for cosmetic reasons: it means that the "normal-way"
23 # runtests will precede the "other-way" recursive invocations of make
25 include $(FPTOOLS_TOP)/mk/target.mk