X-Git-Url: http://git.cielonegro.org/gitweb.cgi?a=blobdiff_plain;f=Makefile;h=4f04f26ccafb1536242963637ab557181a660edb;hb=73b5fba4907604681d778d3bd54cd65fd84b4454;hp=7c0b30e7d2f9c4c44528cbff26432f35f1c6444a;hpb=41b0d69438ec76c5bd070348cf9912dc72f3ff44;p=Lucu.git diff --git a/Makefile b/Makefile index 7c0b30e..4f04f26 100644 --- a/Makefile +++ b/Makefile @@ -1,31 +1,32 @@ CABAL_FILE = Lucu.cabal GHC = ghc -build: .setup-config Setup +build: dist/setup-config Setup ./Setup build run: build @echo ".:.:. Let's go .:.:." $(MAKE) -C examples run -.setup-config: $(CABAL_FILE) Setup - ./Setup configure -p +dist/setup-config: $(CABAL_FILE) Setup +# ./Setup configure --disable-optimization + ./Setup configure -O Setup: Setup.hs $(GHC) --make Setup clean: - rm -rf dist Setup Setup.o Setup.hi .setup-config + rm -rf dist Setup Setup.o Setup.hi find . -name '*~' -exec rm -f {} \; $(MAKE) -C examples clean -doc: .setup-config Setup +doc: dist/setup-config Setup ./Setup haddock install: build - ./Setup install + sudo ./Setup install sdist: Setup ./Setup sdist -.PHONY: build run clean install doc sdist \ No newline at end of file +.PHONY: build run clean install doc sdist