diff --git a/build/exe.mk b/build/exe.mk index 6ddc818a..30c407b7 100644 --- a/build/exe.mk +++ b/build/exe.mk @@ -12,8 +12,8 @@ PROGRAM = $(BINPATH)/$(PROGRAM_NAME) all : release -debug : CFLAGS = -g -O0 -DDEBUG $(DEBUG_CFLAGS) -Wall -W $(INCLUDES) -release : CFLAGS = -O3 -fomit-frame-pointer -funroll-loops -ffast-math -finline-functions -DNDEBUG $(RELEASE_CFLAGS) -Wall -W $(INCLUDES) +debug : CFLAGS = -g -O0 -DDEBUG $(DEBUG_CFLAGS) -Wall -W $(DEFINES) $(INCLUDES) +release : CFLAGS = -O3 -fomit-frame-pointer -funroll-loops -ffast-math -finline-functions -DNDEBUG $(RELEASE_CFLAGS) -Wall -W $(DEFINES) $(INCLUDES) LFLAGS = -L$(LIBPATH) diff --git a/build/lib.mk b/build/lib.mk index 40771e81..f2980115 100644 --- a/build/lib.mk +++ b/build/lib.mk @@ -11,8 +11,8 @@ DYNAMIC_LIB = $(LIBPATH)/$(LIB_NAME).so all : release -debug : CFLAGS = -g -O0 -DDEBUG $(DEBUG_CFLAGS) -Wall -W $(INCLUDES) -release : CFLAGS = -O3 -fomit-frame-pointer -funroll-loops -ffast-math -finline-functions -DNDEBUG $(RELEASE_CFLAGS) -Wall -W $(INCLUDES) +debug : CFLAGS = -g -O0 -DDEBUG $(DEBUG_CFLAGS) -Wall -W $(DEFINES) $(INCLUDES) +release : CFLAGS = -O3 -fomit-frame-pointer -funroll-loops -ffast-math -finline-functions -DNDEBUG $(RELEASE_CFLAGS) -Wall -W $(DEFINES) $(INCLUDES) LFLAGS = -L$(LIBPATH)