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

# Recompilation tests

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

# Touching a file should not cause recompilation

recompHash: clean
	'$(TEST_HC)' $(TEST_HC_OPTS) --make A.hs -fhide-source-paths
	touch B.hs
	'$(TEST_HC)' $(TEST_HC_OPTS) --make A.hs -fhide-source-paths