X-Git-Url: http://git.cielonegro.org/gitweb.cgi?a=blobdiff_plain;f=Makefile;fp=Makefile;h=80beeebd03181c74791cd3fda1911ac2bfa7d1f0;hb=a9e9f50818285bf66cd64e5a248175eecb8e1fea;hp=0000000000000000000000000000000000000000;hpb=3c7a58ab749a55a30466a033b170536bcdf18b98;p=Lucu.git diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..80beeeb --- /dev/null +++ b/Makefile @@ -0,0 +1,22 @@ +CABAL_FILE = Lucu.cabal +GHC = ghc +WHAT_TO_RUN = ./dist/build/HelloWorld/HelloWorld + +run: build + @echo ".:.:. Let's go .:.:." + $(WHAT_TO_RUN) + +build: .setup-config Setup + ./Setup build + +.setup-config: $(CABAL_FILE) Setup + ./Setup configure + +Setup: Setup.hs + $(GHC) --make Setup + +clean: + rm -rf dist Setup Setup.o Setup.hi .setup-config + find . -name '*~' -exec rm -f {} \; + +.PHONY: run build clean \ No newline at end of file