]> gitweb @ CieloNegro.org - haskell-dns.git/blobdiff - Makefile
Add DNSUnitTest.hs
[haskell-dns.git] / Makefile
index 00055ac8e70d1329958589c25e329cd478f61a03..c12ffabc181494581f81824a4e00102211104de8 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,7 @@ build: dist/setup-config Setup
 #      $(MAKE) -C examples run
 
 dist/setup-config: $(CABAL_FILE) Setup
-       ./Setup configure
+       ./Setup configure --disable-optimization -fbuild-test-suite
 
 Setup: Setup.lhs
        $(GHC) --make Setup
@@ -27,4 +27,7 @@ install: build
 sdist: Setup
        ./Setup sdist
 
-.PHONY: build run clean install doc sdist
+test: build
+       ./Setup test
+
+.PHONY: build run clean install doc sdist test