]> gitweb.michael.orlitzky.com - dead/htsn.git/blob - makefile
Add the TSN directory as deps in the makefile.
[dead/htsn.git] / makefile
1 BIN = dist/build/htsn/htsn
2
3 .PHONY : dist hlint
4
5 $(BIN): src/*.hs src/TSN/*.hs
6 runghc Setup.hs clean
7 runghc Setup.hs configure --user
8 runghc Setup.hs build
9
10 profile: src/*.hs
11 runghc Setup.hs clean
12 runghc Setup.hs configure --user --enable-executable-profiling
13 runghc Setup.hs build
14
15 doc: src/*.hs
16 runghc Setup.hs configure --user
17 runghc Setup.hs hscolour --executables
18 runghc Setup.hs haddock --internal \
19 --executables \
20 --hyperlink-source
21
22 clean:
23 runghc Setup.hs clean
24
25
26 test: $(BIN)
27 runghc Setup.hs test
28
29 dist:
30 runghc Setup.hs configure
31 runghc Setup.hs sdist
32
33 hlint:
34 hlint --ignore="Use camelCase" \
35 --ignore="Redundant bracket" \
36 --color \
37 src