1 CABAL_FILE = Rakka.cabal
3 EXECUTABLE = sudo ./dist/build/rakka/rakka -p 8989 -l DEBUG
4 #EXECUTABLE = sudo ./dist/build/rakka/rakka -p 8989 -l DEBUG +RTS -S -A60M -RTS
5 #EXECUTABLE = sudo ./dist/build/rakka/rakka -p 8989 -l DEBUG +RTS -p -RTS
7 build: dist/setup-config Setup
15 $(EXECUTABLE) --rebuild-index
17 dist/setup-config: $(CABAL_FILE) configure Setup Rakka.buildinfo.in
18 ./Setup configure --disable-optimization -fbuild-test-suite
19 # ./Setup configure -fhardest-optimization
20 # ./Setup configure -fenable-profiling
22 configure: configure.ac
30 rm -rf dist Setup Setup.o Setup.hi
31 find . -name '*~' -exec rm -f {} \;
42 .PHONY: build run clean install doc sdist