on master help sign in
Fix dependencies up for qc.
47c59bfBryan O'Sullivan
tests/Makefile+6−2
@@ -17,8 +17,12 @@ $(lib): $(lib-srcs:%=../%)
17 cd .. && runghc Setup configure --user --prefix=$(HOME)
17 cd .. && runghc Setup configure --user --prefix=$(HOME)
18 cd .. && runghc Setup build
18 cd .. && runghc Setup build
19
19
20−qc: $(lib) QuickCheckUtils.o Properties.o
20+Properties.o: QuickCheckUtils.o
21+
22+QuickCheckUtils.o: $(lib)
23+
24+qc: Properties.o QuickCheckUtils.o
21− $(ghc) $(ghc-flags) -o $@ $^
25+ $(ghc) $(ghc-flags) -o $@ $^ $(lib)
22
26
23qc-hpc: Properties.hs QuickCheckUtils.hs $(lib-srcs:%=../%)
27qc-hpc: Properties.hs QuickCheckUtils.hs $(lib-srcs:%=../%)
24 -mkdir -p hpcdir
28 -mkdir -p hpcdir