summaryrefslogtreecommitdiff
path: root/testsuite/tests/driver/recomp002/Makefile
blob: 0dd8f47ca45ef858fd518a9b61bfa6b6c0f86226 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
TOP=../../..
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/test.mk

# Recompilation tests

clean:
	rm -f *.o*
	rm -f *.hi*

# Only the first invocation should print any "Compiling" messages

recomp002: clean
	'$(TEST_HC)' $(TEST_HC_OPTS) --make Q.hs
	echo Middle >&2
	'$(TEST_HC)' $(TEST_HC_OPTS) --make Q.hs