summaryrefslogtreecommitdiffhomepage
path: root/examples/Makefile
diff options
context:
space:
mode:
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