Add variables for APP libs and include flags
This commit is contained in:
parent
69f83da173
commit
1f4311529e
1 changed files with 7 additions and 3 deletions
10
Makefile
10
Makefile
|
|
@ -126,13 +126,17 @@ _CXXFLAGS=-Wall -Weffc++ -pedantic \
|
||||||
-Werror=narrowing \
|
-Werror=narrowing \
|
||||||
-ftrapv -Wfloat-equal -Wpointer-arith \
|
-ftrapv -Wfloat-equal -Wpointer-arith \
|
||||||
-D_FORTIFY_SOURCE=2 -O2
|
-D_FORTIFY_SOURCE=2 -O2
|
||||||
|
APP_CXXFLAGS=
|
||||||
|
|
||||||
|
CXXFLAGS = $(NETBEANSBUILD) $(DBG_REL) -I./include/ $(_CXXFLAGS) $(APP_CXXFLAG)
|
||||||
|
|
||||||
|
APP_LIBS=
|
||||||
|
LIBS = $(NETBEANSBUILD) $(APP_LIBS)
|
||||||
|
|
||||||
CXXFLAGS = $(NETBEANSBUILD) $(DBG_REL) $(_CXXFLAGS) -I./include/
|
|
||||||
LIBS = $(NETBEANSBUILD)
|
|
||||||
|
|
||||||
# Uncomment one of the following to select an output format
|
# Uncomment one of the following to select an output format
|
||||||
#CHECKFLAGS = --template="{file},{line},{severity},{id},{message}"
|
#CHECKFLAGS = --template="{file},{line},{severity},{id},{message}"
|
||||||
CHECKFLAGS += --quiet --enable=all --error-exitcode=1 --check-level=exhaustive --enable=all -I./include
|
CHECKFLAGS += --quiet --enable=all --error-exitcode=1 --check-level=exhaustive -I./include
|
||||||
#CHECKFLAGS = --enable=all --error-exitcode=1
|
#CHECKFLAGS = --enable=all --error-exitcode=1
|
||||||
|
|
||||||
debug release: DIRS $(APP)
|
debug release: DIRS $(APP)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue