Makefile and deploy.

This commit is contained in:
Justin Hsu
2015-01-04 22:20:06 -08:00
parent f030608c0d
commit 6bcab7ce96
14 changed files with 25 additions and 2 deletions
+14
View File
@@ -0,0 +1,14 @@
TOP = site
CABAL_SB = ./.cabal-sandbox/x86_64-osx-ghc-7.8.3-packages.conf.d
GHC_FLAGS = -v -package-db=$(CABAL_SB) -threaded
all: $(TOP)
deploy: $(TOP)
./$(TOP) rebuild && ./$(TOP) deploy
clean:
rm *.hi *.o $(TOP)
$(TOP): $(TOP).hs
ghc $(GHC_FLAGS) $(TOP).hs