X-Git-Url: http://git.cielonegro.org/gitweb.cgi?a=blobdiff_plain;f=Makefile;h=4f04f26ccafb1536242963637ab557181a660edb;hb=73b5fba4907604681d778d3bd54cd65fd84b4454;hp=7e30a9f4af13c665f7af614e255510c8922d057d;hpb=3d017dd65ddede9a11c5b7a34a91e04340e67bc4;p=Lucu.git diff --git a/Makefile b/Makefile index 7e30a9f..4f04f26 100644 --- a/Makefile +++ b/Makefile @@ -1,27 +1,27 @@ 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 +dist/setup-config: $(CABAL_FILE) Setup # ./Setup configure --disable-optimization - ./Setup configure -p --enable-split-objs + ./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 - ./Setup haddock --hyperlink-source --haddock-css=../hscolour/hscolour.css +doc: dist/setup-config Setup + ./Setup haddock install: build sudo ./Setup install