summaryrefslogtreecommitdiffhomepage
path: root/examples/Makefile
diff options
context:
space:
mode:
authorRay <[email protected]>2020-08-08 14:08:56 +0200
committerRay <[email protected]>2020-08-08 14:08:56 +0200
commit959d0d259146c943fe3db61fd1664169303c6394 (patch)
tree203c12c6c36b2ec0352f3ad241770a7710906fe3 /examples/Makefile
parent1841a6bd3b9600484b368b546eef34f7860e4951 (diff)
downloadraylib-959d0d259146c943fe3db61fd1664169303c6394.tar.gz
raylib-959d0d259146c943fe3db61fd1664169303c6394.zip
Review Makefiles for WEB compilation
Diffstat (limited to 'examples/Makefile')
-rw-r--r--examples/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/Makefile b/examples/Makefile
index e3cf1c5f..6824b5d9 100644
--- a/examples/Makefile
+++ b/examples/Makefile
@@ -176,6 +176,9 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP)
ifeq ($(PLATFORM_OS),LINUX)
MAKE = make
endif
+ ifeq ($(PLATFORM_OS),OSX)
+ MAKE = make
+ endif
endif
# Define compiler flags:
@@ -196,7 +199,7 @@ ifeq ($(BUILD_MODE),DEBUG)
endif
else
ifeq ($(PLATFORM),PLATFORM_WEB)
- CFLAGS += -O3
+ CFLAGS += -Os
else
CFLAGS += -s -O1
endif