Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 7874f79415
Fetching contributors…

Cannot retrieve contributors at this time

file 46 lines (31 sloc) 1.339 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
.PHONY: test build clean rebuild local-install haddock hlint tags conf dist-rebuild conf-nodebug conf-ts
build:
runghc Setup.lhs build

clean:
runghc Setup.lhs clean

test: build
runghc Setup.lhs test

conf:
runghc Setup.lhs configure --user --enable-library-profiling --enable-executable-profiling --enable-optimization=2

conf-viac:
runghc Setup.lhs configure --flags="viac" --user --enable-library-profiling --enable-executable-profiling --enable-optimization=2

conf-debug:
runghc Setup.lhs configure --flags="debug" --user --enable-library-profiling --enable-executable-profiling --enable-optimization

conf-t:
runghc Setup.lhs configure --flags="threaded" --user --enable-library-profiling --enable-optimization=2

conf-hpc:
runghc Setup.lhs configure --ghc-options=-fhpc --user --enable-library-profiling --enable-executable-profiling --enable-optimization

conf-no-opt:
runghc Setup.lhs configure --flags="debug" --user --enable-library-profiling --enable-executable-profiling --enable-optimization=0

conf-ts:
runghc Setup.lhs configure --flags="debug threadscope" --user

rebuild: configure build

dist-rebuild: clean local-install

local-install:
cabal install --prefix=$$HOME --user

haddock:
runghc Setup.lhs haddock --executables

hlint:
hlint -r src

tags:
hothasktags $$(find src -type f -name '*.*hs') > $@
Something went wrong with that request. Please try again.