Commit 4cd031de authored by Ron Rahaman's avatar Ron Rahaman

More OS-specific flags for Mac OS/X

parent 79b048b4
...@@ -47,7 +47,11 @@ APPLICATION_DIR := $(CURDIR) ...@@ -47,7 +47,11 @@ APPLICATION_DIR := $(CURDIR)
APPLICATION_NAME := $(shell basename $(APPLICATION_DIR)) APPLICATION_NAME := $(shell basename $(APPLICATION_DIR))
MAIN_DIR := $(MOON_DIR)/src MAIN_DIR := $(MOON_DIR)/src
BUILD_EXEC := yes BUILD_EXEC := yes
ifeq ($(shell uname),Darwin)
EXTERNAL_FLAGS := $(NEK_OBJ) $(NEK_LIB) -Wl,-no_compact_unwind EXTERNAL_FLAGS := $(NEK_OBJ) $(NEK_LIB) -Wl,-no_compact_unwind
else
EXTERNAL_FLAGS := $(NEK_OBJ) $(NEK_LIB)
endif
DEP_APPS := $(shell $(FRAMEWORK_DIR)/scripts/find_dep_apps.py $(APPLICATION_NAME)) DEP_APPS := $(shell $(FRAMEWORK_DIR)/scripts/find_dep_apps.py $(APPLICATION_NAME))
include $(FRAMEWORK_DIR)/app.mk include $(FRAMEWORK_DIR)/app.mk
......
...@@ -47,7 +47,11 @@ APPLICATION_DIR := $(CURDIR) ...@@ -47,7 +47,11 @@ APPLICATION_DIR := $(CURDIR)
APPLICATION_NAME := $(shell basename $(APPLICATION_DIR)) APPLICATION_NAME := $(shell basename $(APPLICATION_DIR))
MAIN_DIR := $(MOON_DIR)/src MAIN_DIR := $(MOON_DIR)/src
BUILD_EXEC := yes BUILD_EXEC := yes
ifeq ($(shell uname),Darwin)
EXTERNAL_FLAGS := $(NEK_OBJ) $(NEK_LIB) -Wl,-no_compact_unwind EXTERNAL_FLAGS := $(NEK_OBJ) $(NEK_LIB) -Wl,-no_compact_unwind
else
EXTERNAL_FLAGS := $(NEK_OBJ) $(NEK_LIB)
endif
DEP_APPS := $(shell $(FRAMEWORK_DIR)/scripts/find_dep_apps.py $(APPLICATION_NAME)) DEP_APPS := $(shell $(FRAMEWORK_DIR)/scripts/find_dep_apps.py $(APPLICATION_NAME))
include $(FRAMEWORK_DIR)/app.mk include $(FRAMEWORK_DIR)/app.mk
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment