瀏覽代碼

Review makefiles debug flag

pull/2236/head
raysan5 3 年之前
父節點
當前提交
22d0baa896
共有 2 個檔案被更改,包括 2 行新增2 行删除
  1. +1
    -1
      examples/Makefile
  2. +1
    -1
      src/Makefile

+ 1
- 1
examples/Makefile 查看文件

@ -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

+ 1
- 1
src/Makefile 查看文件

@ -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)

Loading…
取消
儲存