diff options
author | 2008-04-02 08:28:58 +0000 | |
---|---|---|
committer | 2008-04-02 08:28:58 +0000 | |
commit | 43283025383017343fb20298cf59143b9a0c9baf (patch) | |
tree | ec0008f4aa5df07f46ebf6964a2dedaa44463a89 /makefile | |
parent | 125e286bdaa0544c50a13126aedfc46acbcf7143 (diff) |
From: Marc Sandusky
Subject: Minor patch submission - verbose build information for development in IDE
I am submitting this minor patch that adds verbose build information to the
build output when the "VERBOSE" flag is set to "1", rather than the simple
output normally seen, by adding the "-v" flag to the CFLAGS variable. This
is most useful for those that like to use an IDE (Eclipse in my case) for
source browsing and development. The IDE usually will parse the build
information, which is currently not available, to determine include file
locations, build definitions, etc. and will use that information to provide
more advanced navigation features.
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -139,6 +139,9 @@ BUILD_ZLIB = 1 # uncomment next line to generate a link map for exception handling in windows # MAP = 1 +# uncomment next line to generate verbose build information +# VERBOSE = 1 + # specify optimization level or leave commented to use the default # (default is OPTIMIZE = 3 normally, or OPTIMIZE = 0 with symbols) # OPTIMIZE = 3 @@ -301,6 +304,11 @@ ifdef SYMBOLS CFLAGS += -g endif +# add -v if we need verbose build information +ifdef VERBOSE +CFLAGS += -v +endif + # add a basic set of warnings CFLAGS += \ -Wall \ |