Review makefiles debug flag

This commit is contained in:
raysan5 2021-12-21 12:24:03 +01:00
parent dcb0e62095
commit 22d0baa896
2 changed files with 2 additions and 2 deletions

View file

@ -204,7 +204,7 @@ endif
CFLAGS += -Wall -std=c99 -D_DEFAULT_SOURCE -Wno-missing-braces -Wunused-result
ifeq ($(BUILD_MODE),DEBUG)
CFLAGS += -g
CFLAGS += -g -D_DEBUG
ifeq ($(PLATFORM),PLATFORM_WEB)
CFLAGS += -s ASSERTIONS=1 --profiling
endif

View file

@ -283,7 +283,7 @@ ifeq ($(PLATFORM_OS), LINUX)
endif
ifeq ($(RAYLIB_BUILD_MODE),DEBUG)
CFLAGS += -g
CFLAGS += -g -D_DEBUG
endif
ifeq ($(RAYLIB_BUILD_MODE),RELEASE)