diff options
| author | Ray <[email protected]> | 2022-01-11 11:26:45 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2022-01-11 11:26:45 +0100 |
| commit | 0416d5ff7b35bc99bc29a72f9b34592533582476 (patch) | |
| tree | accdbc83eec02cdefe80b456743cbe00693d4168 /examples/Makefile | |
| parent | cabb5518e5e5f738264ed2eb1f18bfa1b3dc8511 (diff) | |
| download | raylib-0416d5ff7b35bc99bc29a72f9b34592533582476.tar.gz raylib-0416d5ff7b35bc99bc29a72f9b34592533582476.zip | |
Update Makefile
Diffstat (limited to 'examples/Makefile')
| -rw-r--r-- | examples/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/Makefile b/examples/Makefile index d33dc212..15b6a830 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -22,9 +22,9 @@ #************************************************************************************************** .PHONY: all clean + # Define required environment variables #------------------------------------------------------------------------------------------------ - # Define required raylib variables PROJECT_NAME ?= raylib_examples RAYLIB_VERSION ?= 4.0.0 @@ -137,7 +137,7 @@ ifeq ($(PLATFORM),PLATFORM_WEB) CLANG_PATH = $(EMSDK_PATH)/upstream/bin PYTHON_PATH = $(EMSDK_PATH)/python/3.9.2-1_64bit NODE_PATH = $(EMSDK_PATH)/node/14.15.5_64bit/bin - export PATH = $(EMSDK_PATH);$(EMSCRIPTEN_PATH);$(CLANG_PATH);$(NODE_PATH);$(PYTHON_PATH);C:\raylib\MinGW\bin:$$(PATH) + export PATH = $(EMSDK_PATH);$(EMSCRIPTEN_PATH);$(CLANG_PATH);$(NODE_PATH);$(PYTHON_PATH):$$(PATH) endif # Define raylib release directory for compiled library. @@ -211,6 +211,7 @@ endif # -std=c99 defines C language mode (standard C from 1999 revision) # -std=gnu99 defines C language mode (GNU C from 1999 revision) # -Wno-missing-braces ignore invalid warning (GCC bug 53119) +# -Wno-unused-value ignore unused return values of some functions (i.e. fread()) # -D_DEFAULT_SOURCE use with -std=c99 on Linux and PLATFORM_WEB, required for timespec CFLAGS = -Wall -std=c99 -D_DEFAULT_SOURCE -Wno-missing-braces -Wunused-result |
