2 BIN = dist/build/$(PN)/$(PN)
3 TESTSUITE_BIN = dist/build/testsuite/testsuite
7 $(BIN): $(PN).cabal src/*.hs src/TSN/*.hs
9 runghc Setup.hs configure --user --prefix=/
12 profile: $(PN).cabal src/*.hs src/TSN/*.hs
14 runghc Setup.hs configure --user --enable-executable-profiling --prefix=/
17 doc: $(PN).cabal src/*.hs src/TSN/*.hs
18 runghc Setup.hs configure --user --prefix=/
19 runghc Setup.hs hscolour --executables
20 runghc Setup.hs haddock --internal \
30 $(TESTSUITE_BIN): $(PN).cabal src/*.hs test/TestSuite.hs
31 runghc Setup.hs configure --user --enable-tests --prefix=/
34 test: $(BIN) $(TESTSUITE_BIN)
38 runghc Setup.hs configure --prefix=/
42 hlint --ignore="Use camelCase" \
43 --ignore="Redundant bracket" \