X-Git-Url: http://git.cielonegro.org/gitweb.cgi?a=blobdiff_plain;f=Makefile;h=8bb305a19adcc4a1e9e99063f99d277d1a224bab;hb=b4c0033f297c28d95ad9298b489126331224bc42;hp=41fe0529b92f99840db482cc72ad072f02127119;hpb=03d4363a24998cd670061fde1ea4b8db8cbc5b32;p=Rakka.git diff --git a/Makefile b/Makefile index 41fe052..8bb305a 100644 --- a/Makefile +++ b/Makefile @@ -1,16 +1,23 @@ CABAL_FILE = Rakka.cabal GHC = ghc -EXECUTABLE = ./dist/build/Rakka/rakka +EXECUTABLE = sudo ./dist/build/rakka/rakka -p 8989 -l DEBUG +#EXECUTABLE = sudo ./dist/build/rakka/rakka -p 8989 -l DEBUG +RTS -S -A60M -RTS +#EXECUTABLE = sudo ./dist/build/rakka/rakka -p 8989 -l DEBUG +RTS -p -RTS -build: .setup-config Setup +build: dist/setup-config Setup + $(MAKE) -C js $@ ./Setup build run: build - @echo ".:.:. Let's go .:.:." $(EXECUTABLE) -.setup-config: $(CABAL_FILE) configure Setup Rakka.buildinfo.in - ./Setup configure +rebuild-index: build + $(EXECUTABLE) --rebuild-index + +dist/setup-config: $(CABAL_FILE) configure Setup Rakka.buildinfo.in + ./Setup configure --disable-optimization -fbuild-test-suite +# ./Setup configure -fhardest-optimization +# ./Setup configure -fenable-profiling configure: configure.ac autoconf @@ -19,13 +26,17 @@ Setup: Setup.hs $(GHC) --make Setup clean: - rm -rf dist Setup Setup.o Setup.hi .setup-config + $(MAKE) -C js $@ + rm -rf dist Setup Setup.o Setup.hi find . -name '*~' -exec rm -f {} \; install: build - ./Setup install + sudo ./Setup install + +test: build + ./Setup test sdist: Setup ./Setup sdist -.PHONY: build run clean install doc sdist \ No newline at end of file +.PHONY: build run clean install doc sdist