From 1f4311529ea0b6e9d02a277ad617cd2b0a6986e4 Mon Sep 17 00:00:00 2001 From: benn Date: Mon, 5 May 2025 09:56:52 +0200 Subject: [PATCH] Add variables for APP libs and include flags --- Makefile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 5a04df8..2a17ca9 100755 --- a/Makefile +++ b/Makefile @@ -126,13 +126,17 @@ _CXXFLAGS=-Wall -Weffc++ -pedantic \ -Werror=narrowing \ -ftrapv -Wfloat-equal -Wpointer-arith \ -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 #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 debug release: DIRS $(APP)