on master help sign in
Fix dependencies up for qc.

--HG-- extra : convert_revision : 50a8e700daa064d51506de06c0b7fe46281e8285

commit47c59bff5fc2b3f54005ac9d5dd23a4f2d946fa0 authorBryan O'Sullivan <bos@serpentine.com> dateSat 15 Aug 2009, 04:11 (17 years ago) parent146e2c2
1 file changed+6−2
tests/Makefile+6−2
tests/Makefile+6−2
@@ -17,8 +17,12 @@ $(lib): $(lib-srcs:%=../%)
1717 cd .. && runghc Setup configure --user --prefix=$(HOME)
1818 cd .. && runghc Setup build
1919
20−qc: $(lib) QuickCheckUtils.o Properties.o
21− $(ghc) $(ghc-flags) -o $@ $^
20+Properties.o: QuickCheckUtils.o
21+
22+QuickCheckUtils.o: $(lib)
23+
24+qc: Properties.o QuickCheckUtils.o
25+ $(ghc) $(ghc-flags) -o $@ $^ $(lib)
2226
2327qc-hpc: Properties.hs QuickCheckUtils.hs $(lib-srcs:%=../%)
2428 -mkdir -p hpcdir