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

# Recompilation tests

clean:
	rm -f *.o *.hi
	rm -f B.hs C

# bug #481

recomp009: clean
	cp Sub1.hs Sub.hs
	'$(TEST_HC)' $(TEST_HC_OPTS) -v0 --make Main.hs
	./Main
	sleep 1
	cp Sub2.hs Sub.hs
	-'$(TEST_HC)' $(TEST_HC_OPTS) -v0 --make Main.hs
	./Main