2 SRCS := $(shell find src/ -type f -name '*.hs')
3 BINS = $(patsubst src%.hs, dist/build%.o, $(SRCS))
5 .PHONY : dist doc hlint
7 $(BINS): $(PN).cabal $(SRCS)
10 runghc Setup.hs configure --user --prefix=/
13 profile: $(PN).cabal $(SRCS)
15 runghc Setup.hs configure --user \
16 --enable-executable-profiling \
21 runghc Setup.hs configure --user --prefix=/
22 runghc Setup.hs hscolour --executables
23 runghc Setup.hs haddock --internal \
34 runghc Setup.hs configure --prefix=/
38 hlint --ignore="Use camelCase" \
39 --ignore="Redundant bracket" \