add make fast target
This commit is contained in:
parent
e4105df78a
commit
a71c03bc51
1 changed files with 6 additions and 3 deletions
9
Makefile
9
Makefile
|
@ -14,14 +14,17 @@ sources=Build/SysConfig.hs Utility/StatFS.hs Utility/Touch.hs Remote/S3.hs
|
|||
|
||||
all=$(bins) $(mans) docs
|
||||
|
||||
# Am I typing :make in vim? Do a fast build without optimisation.
|
||||
# Am I typing :make in vim? Do a fast build.
|
||||
ifdef VIM
|
||||
GHCFLAGS=-Wall $(IGNORE)
|
||||
all=$(bins)
|
||||
all=fast
|
||||
endif
|
||||
|
||||
all: $(all)
|
||||
|
||||
# Disables optimisation. Not for production use.
|
||||
fast: GHCFLAGS=-Wall $(IGNORE)
|
||||
fast: $(bins)
|
||||
|
||||
Build/SysConfig.hs: configure.hs Build/TestConfig.hs
|
||||
$(GHCMAKE) configure
|
||||
./configure
|
||||
|
|
Loading…
Reference in a new issue