]> gitweb @ CieloNegro.org - haskell-dns.git/blobdiff - Makefile
defaultUserHooks --> simpleUserHooks
[haskell-dns.git] / Makefile
index 00055ac8e70d1329958589c25e329cd478f61a03..d072fa34f266e08c7d79b37384a18aba11b0560b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -4,12 +4,12 @@ GHC = ghc
 build: dist/setup-config Setup
        ./Setup build
 
-#run: build
-#      @echo ".:.:. Let's go .:.:."
-#      $(MAKE) -C examples run
+run: build
+       @echo ".:.:. Let's go .:.:."
+       ./dist/build/ExampleDNSServer/ExampleDNSServer
 
 dist/setup-config: $(CABAL_FILE) Setup
-       ./Setup configure
+       ./Setup configure --disable-optimization -fbuild-test-suite -fbuild-examples
 
 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