summaryrefslogtreecommitdiffhomepage
path: root/examples/Makefile.Web
diff options
context:
space:
mode:
authorRay <[email protected]>2021-12-27 19:01:07 +0100
committerRay <[email protected]>2021-12-27 19:01:07 +0100
commit611e54e67ebbdcc4250719a2e430390eccb72440 (patch)
treec6bcfc038fce475f68b6907a571db01558fa7828 /examples/Makefile.Web
parent5f2bc20191fecabc0bd50ed80a3d33d170ffd916 (diff)
downloadraylib-611e54e67ebbdcc4250719a2e430390eccb72440.tar.gz
raylib-611e54e67ebbdcc4250719a2e430390eccb72440.zip
Reviewed makefiles
Diffstat (limited to 'examples/Makefile.Web')
-rw-r--r--examples/Makefile.Web16
1 files changed, 8 insertions, 8 deletions
diff --git a/examples/Makefile.Web b/examples/Makefile.Web
index 5a9a221c..52924c10 100644
--- a/examples/Makefile.Web
+++ b/examples/Makefile.Web
@@ -202,7 +202,7 @@ endif
# -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 -Wno-unused-value
+CFLAGS = -Wall -std=c99 -D_DEFAULT_SOURCE -Wno-missing-braces -Wno-unused-value
ifeq ($(BUILD_MODE),DEBUG)
CFLAGS += -g -D_DEBUG
@@ -323,14 +323,14 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP)
ifeq ($(PLATFORM_OS),WINDOWS)
# Libraries for Windows desktop compilation
# NOTE: WinMM library required to set high-res timer resolution
- LDLIBS += -lraylib -lopengl32 -lgdi32 -lwinmm
+ LDLIBS = -lraylib -lopengl32 -lgdi32 -lwinmm
# Required for physac examples
LDLIBS += -static -lpthread
endif
ifeq ($(PLATFORM_OS),LINUX)
# Libraries for Debian GNU/Linux desktop compiling
# NOTE: Required packages: libegl1-mesa-dev
- LDLIBS += -lraylib -lGL -lm -lpthread -ldl -lrt
+ LDLIBS = -lraylib -lGL -lm -lpthread -ldl -lrt
# On X11 requires also below libraries
LDLIBS += -lX11
@@ -349,12 +349,12 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP)
ifeq ($(PLATFORM_OS),OSX)
# Libraries for OSX 10.9 desktop compiling
# NOTE: Required packages: libopenal-dev libegl1-mesa-dev
- LDLIBS += -lraylib -framework OpenGL -framework Cocoa -framework IOKit -framework CoreAudio -framework CoreVideo
+ LDLIBS = -lraylib -framework OpenGL -framework Cocoa -framework IOKit -framework CoreAudio -framework CoreVideo
endif
ifeq ($(PLATFORM_OS),BSD)
# Libraries for FreeBSD, OpenBSD, NetBSD, DragonFly desktop compiling
# NOTE: Required packages: mesa-libs
- LDLIBS += -lraylib -lGL -lpthread -lm
+ LDLIBS = -lraylib -lGL -lpthread -lm
# On XWindow requires also below libraries
LDLIBS += -lX11 -lXrandr -lXinerama -lXi -lXxf86vm -lXcursor
@@ -367,16 +367,16 @@ endif
ifeq ($(PLATFORM),PLATFORM_RPI)
# Libraries for Raspberry Pi compiling
# NOTE: Required packages: libasound2-dev (ALSA)
- LDLIBS += -lraylib -lbrcmGLESv2 -lbrcmEGL -lpthread -lrt -lm -lbcm_host -ldl
+ LDLIBS = -lraylib -lbrcmGLESv2 -lbrcmEGL -lpthread -lrt -lm -lbcm_host -ldl
endif
ifeq ($(PLATFORM),PLATFORM_DRM)
# Libraries for DRM compiling
# NOTE: Required packages: libasound2-dev (ALSA)
- LDLIBS += -lraylib -lGLESv2 -lEGL -lpthread -lrt -lm -lgbm -ldrm -ldl
+ LDLIBS = -lraylib -lGLESv2 -lEGL -lpthread -lrt -lm -lgbm -ldrm -ldl
endif
ifeq ($(PLATFORM),PLATFORM_WEB)
# Libraries for web (HTML5) compiling
- LDLIBS += $(RAYLIB_RELEASE_PATH)/libraylib.a
+ LDLIBS = $(RAYLIB_RELEASE_PATH)/libraylib.a
endif
# Define all object files required