blob: 113af9f204e65c6c5ae52366ceb610edd9243ffd (
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*
rm -f *.dyn_o*
rm -f *.hi*
# If the source changes, but not the ABI, then only B should be recompiled.
recompNoTH: clean
'$(CP)' B1.hs B.hs
'$(TEST_HC)' $(TEST_HC_OPTS) --make A.hs -fhide-source-paths
'$(CP)' B2.hs B.hs
# Should print that only B has been recompiled.
'$(TEST_HC)' $(TEST_HC_OPTS) --make A.hs -fhide-source-paths
|