diff options
author | Joey Hess <joey@kitenet.net> | 2011-11-10 03:10:17 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-11-10 03:10:17 -0400 |
commit | a71c03bc5162916853ff520d5c7c89e849c6a047 (patch) | |
tree | dc5304fb58a355ce72d8550163c1990393fb5afd /Makefile | |
parent | e4105df78a9a12eaee7d1c00758854186c818931 (diff) |
add make fast target
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -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 |