mirror of
https://github.com/libretro/desmume.git
synced 2024-11-23 08:10:03 +00:00
Improve Makefile pt. 2
This commit is contained in:
parent
4586dd666f
commit
7b16293ebb
@ -156,6 +156,14 @@ else ifeq ($(platform), osx)
|
||||
fpic := -fPIC
|
||||
SHARED := -dynamiclib -framework OpenGL
|
||||
|
||||
ifeq ($(CROSS_COMPILE),1)
|
||||
TARGET_RULE = -target $(LIBRETRO_APPLE_PLATFORM) -isysroot $(LIBRETRO_APPLE_ISYSROOT)
|
||||
CFLAGS += $(TARGET_RULE)
|
||||
CPPFLAGS += $(TARGET_RULE)
|
||||
CXXFLAGS += $(TARGET_RULE)
|
||||
LDFLAGS += $(TARGET_RULE)
|
||||
endif
|
||||
|
||||
ifeq ($(UNIVERSAL),1)
|
||||
ifeq ($(ARCHFLAGS),)
|
||||
ARCHFLAGS = -arch i386 -arch x86_64
|
||||
|
Loading…
Reference in New Issue
Block a user