Repository : ssh://darcs.haskell.org//srv/darcs/packages/containers On branch : master
http://hackage.haskell.org/trac/ghc/changeset/cdc2c695b879ff18c0c830ff8d79e689c9ed8f6c >--------------------------------------------------------------- commit cdc2c695b879ff18c0c830ff8d79e689c9ed8f6c Author: Milan Straka <[email protected]> Date: Tue Apr 24 18:05:40 2012 +0200 Improve manual makefile for tests. Leave dependencies on GHC instead of make. >--------------------------------------------------------------- tests/Makefile | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/tests/Makefile b/tests/Makefile index 001949c..5af8ff3 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -1,11 +1,13 @@ all: -%-properties: %-properties.hs ../Data/*.hs ../Data/*/*.hs +%-properties: %-properties.hs force ghc -O2 -DTESTING $< -i.. -o $@ -outputdir tmp -%-strict-properties: %-properties.hs +%-strict-properties: %-properties.hs force ghc -O2 -DTESTING -DSTRICT $< -o $@ -i.. -outputdir tmp -.PHONY: clean +.PHONY: force clean +force: + clean: rm -rf tmp $(patsubst %.hs, %, $(wildcard *-properties.hs)) $(patsubst %-properties.hs, %-strict-properties, $(wildcard *-properties.hs)) _______________________________________________ Cvs-libraries mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-libraries
