mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
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.
This commit is contained in:
parent
125e286bda
commit
4328302538
8
makefile
8
makefile
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user