X-Git-Url: http://git.cielonegro.org/gitweb.cgi?p=haskell-dns.git;a=blobdiff_plain;f=Makefile;h=d072fa34f266e08c7d79b37384a18aba11b0560b;hp=00055ac8e70d1329958589c25e329cd478f61a03;hb=HEAD;hpb=2778374186c39d8f30347a1f943708efd22f7d29 diff --git a/Makefile b/Makefile index 00055ac..d072fa3 100644 --- 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