Commit 063c1933 authored by Libretro-Admin's avatar Libretro-Admin
Browse files

Add PPC defines too for ARCHFLAGS

parent bd556705
......@@ -11,10 +11,32 @@ else ifneq ($(findstring win,$(shell uname -a)),)
endif
endif
# system platform
system_platform = unix
ifeq ($(shell uname -a),)
EXE_EXT = .exe
system_platform = win
else ifneq ($(findstring Darwin,$(shell uname -a)),)
system_platform = osx
arch = intel
ifeq ($(shell uname -p),powerpc)
arch = ppc
endif
else ifneq ($(findstring MINGW,$(shell uname -a)),)
system_platform = win
endif
TARGET_NAME := 2048
LIBM := -lm
fpic=
ifeq ($(ARCHFLAGS),)
ifeq ($(archs),ppc)
ARCHFLAGS = -arch ppc -arch ppc64
else
ARCHFLAGS = -arch i386 -arch x86_64
endif
endif
ifeq ($(platform), unix)
TARGET := $(TARGET_NAME)_libretro.so
......
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