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

Paolo Capriotti <[email protected]>
Newsgroups gmane.comp.lang.haskell.cvs.libraries
Message-ID <[email protected]>
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 <[email protected]>
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))
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.