瀏覽代碼

Merge pull request #295 from jubalh/cflags

Accept external CFLAGS
pull/261/merge
Ray 8 年之前
committed by GitHub
父節點
當前提交
a08cf1ce63
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      src/Makefile

+ 1
- 1
src/Makefile 查看文件

@ -198,7 +198,7 @@ endif
# -fgnu89-inline declaring inline functions support (GCC optimized)
# -Wno-missing-braces ignore invalid warning (GCC bug 53119)
# -D_DEFAULT_SOURCE use with -std=c99
CFLAGS = -O1 -Wall -std=c99 -D_DEFAULT_SOURCE -fgnu89-inline -Wno-missing-braces
CFLAGS += -O1 -Wall -std=c99 -D_DEFAULT_SOURCE -fgnu89-inline -Wno-missing-braces
ifeq ($(PLATFORM),PLATFORM_WEB)
CFLAGS += -s USE_GLFW=3 -s ASSERTIONS=1 --profiling --preload-file resources

Loading…
取消
儲存