CABAL_FILE = Rakka.cabal GHC = ghc EXECUTABLE = ./dist/build/Rakka/rakka build: .setup-config Setup ./Setup build run: build @echo ".:.:. Let's go .:.:." $(EXECUTABLE) .setup-config: $(CABAL_FILE) configure Setup Rakka.buildinfo.in ./Setup configure configure: configure.ac autoconf Setup: Setup.hs $(GHC) --make Setup clean: rm -rf dist Setup Setup.o Setup.hi .setup-config find . -name '*~' -exec rm -f {} \; install: build ./Setup install sdist: Setup ./Setup sdist .PHONY: build run clean install doc sdist