Added DEBUG environment variable condition for CFLAGS.

parent 73251048
BUILD=build/ BUILD=build/
CFLAGS := -g -O3 -pipe -Wall -Wextra -fstrict-aliasing
CFLAGS := -pipe -Wall -Wextra -fstrict-aliasing
ifdef DEBUG
CFLAGS := -ggdb -g -fno-omit-frame-pointer -O2 ${CFLAGS}
else
CFLAGS := -g -fomit-frame-pointer -O3 ${CFLAGS}
endif
# Fix pdflatex search path # Fix pdflatex search path
TEXINPUTS := "$(TEXINPUTS):docs" TEXINPUTS := "$(TEXINPUTS):docs"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment