[commit: containers] master: Add Makefile for manually building tests. (e0dfe52)

Paolo Capriotti p.capriotti at gmail.com
Thu Jul 19 21:11:47 CEST 2012


Repository : ssh://darcs.haskell.org//srv/darcs/packages/containers

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/e0dfe5274aa4d70646e93b66234100c89d9d2b8a

>---------------------------------------------------------------

commit e0dfe5274aa4d70646e93b66234100c89d9d2b8a
Author: Milan Straka <fox at ucw.cz>
Date:   Mon Mar 26 16:37:48 2012 +0200

    Add Makefile for manually building tests.

>---------------------------------------------------------------

 tests/Makefile |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/tests/Makefile b/tests/Makefile
new file mode 100644
index 0000000..001949c
--- /dev/null
+++ b/tests/Makefile
@@ -0,0 +1,11 @@
+all:
+
+%-properties: %-properties.hs ../Data/*.hs ../Data/*/*.hs
+	ghc -O2 -DTESTING $< -i.. -o $@ -outputdir tmp
+
+%-strict-properties: %-properties.hs
+	ghc -O2 -DTESTING -DSTRICT $< -o $@ -i.. -outputdir tmp
+
+.PHONY: clean
+clean:
+	rm -rf tmp $(patsubst %.hs, %, $(wildcard *-properties.hs)) $(patsubst %-properties.hs, %-strict-properties, $(wildcard *-properties.hs))





More information about the Cvs-libraries mailing list