Browse Source

Accept external CFLAGS

Some distributions build the programs with a specific set of CFLAGS.
Lets allow that by adding raylibs flags.
pull/295/head
Michael Vetter 8 years ago
parent
commit
6809380d3d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Makefile

+ 1
- 1
src/Makefile View File

@ -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…
Cancel
Save