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

# Recompilation tests

clean:
	rm -f *.o *.hi

# bug #12723

recomp016: clean
	echo 'module B (module A) where import A' > B.hs
	echo 'first run'
	'$(TEST_HC)' $(TEST_HC_OPTS) --make E.hs
	sleep 1
	echo 'module B (module A2) where import A2' > B.hs
	echo 'second run'
	'$(TEST_HC)' $(TEST_HC_OPTS) --make E.hs