Compile with -g -O2 by default

Change default CFLAGS (CFLAGS not overriden and no CFLAGS in
environment) to add debugging symbol and optimize the generated code.
This commit is contained in:
Thomas Preud'homme 2011-10-04 17:23:24 +02:00
parent c86ed77fb2
commit 1cede92011
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@
#
VERSION = $(shell awk 'END { print $$1 }' VERSION)
CFLAGS ?= -Wall -Wextra
CFLAGS ?= -Wall -Wextra -g -O2
CFLAGS += -DVERSION=\"$(VERSION)\"
# Note: assignments are ignored for variable overriden on command line VAR=value