compilation fixes
[intricacy.git] / Makefile
blobb1e85eb274dbe078dc419364093bcf60e5d0cf91
1 VERSION=0.8.2.1
3 sources=$(filter-out Paths_intricacy.hs,$(wildcard *.hs *.lhs))
5 intricacy: $(sources)
6 cabal install -O2 -f -server --installdir . --overwrite-policy=always
7 install: $(sources)
8 cabal install -O2 -f server
9 intricacy-curses: $(sources)
10 cabal install -O2 -f -server -f -sdl -f curses --installdir . --overwrite-policy=always &&\
11 mv intricacy intricacy-curses
12 intricacy-server: $(sources)
13 cabal install -O2 -f server -f -game --installdir . --overwrite-policy=always
15 modules.dot: $(sources)
16 graphmod *.lhs *.hs > modules.dot
17 modules.png: modules.dot
18 dot -Tpng -o modules.png modules.dot
19 index.html: index.md
20 pandoc -f markdown -t html < index.md > index.html