Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 30 lines (21 sloc) 0.592 kB
1cd349c @dag Only --force-reinstalls for install, not configure
dag authored
1 PROJECT = fay
2 CABAL = cabal-dev
3 CABAL_FLAGS = -fdevel --enable-executable-profiling --enable-library-profiling
4 OPEN = xdg-open
5 FAY = dist/build/fay/fay
6 FAY-DOCS = dist/build/fay-docs/fay-docs
7 FAY-TESTS = dist/build/fay-tests/fay-tests
481f5f6 @dag Makefile to simplify hacking, plus ghc-prof-options
dag authored
8
9 PATH := $(PWD)/cabal-dev/bin:$(PATH)
10
11 .PHONY: all configure install doc test
12
1cd349c @dag Only --force-reinstalls for install, not configure
dag authored
13 all: test
481f5f6 @dag Makefile to simplify hacking, plus ghc-prof-options
dag authored
14
1cd349c @dag Only --force-reinstalls for install, not configure
dag authored
15 configure:
16 $(CABAL) $@ $(CABAL_FLAGS)
17
18 install:
19 $(CABAL) $@ $(CABAL_FLAGS) --force-reinstalls
481f5f6 @dag Makefile to simplify hacking, plus ghc-prof-options
dag authored
20
21 build: configure
1cd349c @dag Only --force-reinstalls for install, not configure
dag authored
22 $(CABAL) $@
481f5f6 @dag Makefile to simplify hacking, plus ghc-prof-options
dag authored
23
24 doc:
25 $(CABAL) haddock
26 $(OPEN) "dist/doc/html/$(PROJECT)/index.html"
27
1cd349c @dag Only --force-reinstalls for install, not configure
dag authored
28 test: build
481f5f6 @dag Makefile to simplify hacking, plus ghc-prof-options
dag authored
29 $(FAY-TESTS) +RTS $(RTS)
Something went wrong with that request. Please try again.