diff --git a/config.mk b/config.mk index 08808c6..ae4844a 100644 --- a/config.mk +++ b/config.mk @@ -14,8 +14,8 @@ PKG_CONFIG ?= pkg-config # flags CPPFLAGS += -D_DEFAULT_SOURCE -DVERSION=\"${VERSION}\" -CFLAGS += -g --std=gnu99 -pedantic -Wall -Wno-overlength-strings -Os ${STATIC} ${CPPFLAGS} -LDFLAGS += -lm +CFLAGS := -g --std=gnu99 -pedantic -Wall -Wno-overlength-strings -Os ${STATIC} ${CPPFLAGS} ${CFLAGS} +LDFLAGS := -lm ${LDFLAGS} CPPFLAGS_DEBUG := -DDEBUG_BUILD CFLAGS_DEBUG := -O0