Update Makefile

This commit is contained in:
twinaphex 2016-08-08 03:44:03 +02:00
parent ef38e60fec
commit 975e6d2618

View File

@ -93,7 +93,7 @@ else
endif endif
else ifeq ($(platform), ctr) else ifeq ($(platform), ctr)
TARGET = $(TARGET_NAME)_libretro_ctr.a TARGET = $(TARGET_NAME)_libretro_$(platform).a
CC = $(DEVKITARM)/bin/arm-none-eabi-gcc$(EXE_EXT) CC = $(DEVKITARM)/bin/arm-none-eabi-gcc$(EXE_EXT)
CXX = $(DEVKITARM)/bin/arm-none-eabi-g++$(EXE_EXT) CXX = $(DEVKITARM)/bin/arm-none-eabi-g++$(EXE_EXT)
AR = $(DEVKITARM)/bin/arm-none-eabi-ar$(EXE_EXT) AR = $(DEVKITARM)/bin/arm-none-eabi-ar$(EXE_EXT)
@ -140,7 +140,7 @@ else ifeq ($(platform), android-armv7)
AR = arm-linux-androideabi-ar AR = arm-linux-androideabi-ar
LD = arm-linux-androideabi-gcc LD = arm-linux-androideabi-gcc
else ifeq ($(platform), qnx) else ifeq ($(platform), qnx)
TARGET = $(TARGET_NAME)_libretro_qnx.so TARGET = $(TARGET_NAME)_libretro_$(platform).so
CFLAGS += -fPIC CFLAGS += -fPIC
PLATCFLAGS += -march=armv7-a -Dstricmp=strcasecmp PLATCFLAGS += -march=armv7-a -Dstricmp=strcasecmp
@ -150,7 +150,7 @@ else ifeq ($(platform), qnx)
AR = qcc -Vgcc_ntoarmv7le AR = qcc -Vgcc_ntoarmv7le
LD = QCC -Vgcc_ntoarmv7le LD = QCC -Vgcc_ntoarmv7le
else ifeq ($(platform), wii) else ifeq ($(platform), wii)
TARGET = $(TARGET_NAME)_libretro_wii.a TARGET = $(TARGET_NAME)_libretro_$(platform).a
BIGENDIAN = 1 BIGENDIAN = 1
CC = $(DEVKITPPC)/bin/powerpc-eabi-gcc$(EXE_EXT) CC = $(DEVKITPPC)/bin/powerpc-eabi-gcc$(EXE_EXT)
@ -158,7 +158,7 @@ else ifeq ($(platform), wii)
PLATCFLAGS += -DGEKKO -mrvl -mcpu=750 -meabi -mhard-float -D__ppc__ -D__POWERPC__ -Dstricmp=strcasecmp PLATCFLAGS += -DGEKKO -mrvl -mcpu=750 -meabi -mhard-float -D__ppc__ -D__POWERPC__ -Dstricmp=strcasecmp
STATIC_LINKING = 1 STATIC_LINKING = 1
else ifeq ($(platform), ps3) else ifeq ($(platform), ps3)
TARGET = $(TARGET_NAME)_libretro_ps3.a TARGET = $(TARGET_NAME)_libretro_$(platform).a
BIGENDIAN = 1 BIGENDIAN = 1
CC = $(CELL_SDK)/host-win32/ppu/bin/ppu-lv2-gcc.exe CC = $(CELL_SDK)/host-win32/ppu/bin/ppu-lv2-gcc.exe
@ -174,7 +174,7 @@ else ifeq ($(platform), sncps3)
PLATCFLAGS += -D__CELLOS_LV2__ -D__ppc__ -D__POWERPC__ -Dstricmp=strcasecmp PLATCFLAGS += -D__CELLOS_LV2__ -D__ppc__ -D__POWERPC__ -Dstricmp=strcasecmp
STATIC_LINKING = 1 STATIC_LINKING = 1
else ifeq ($(platform), psl1ght) else ifeq ($(platform), psl1ght)
TARGET = $(TARGET_NAME)_libretro_psl1ght.a TARGET = $(TARGET_NAME)_libretro_$(platform).a
BIGENDIAN = 1 BIGENDIAN = 1
CC = $(PS3DEV)/ppu/bin/ppu-gcc$ CC = $(PS3DEV)/ppu/bin/ppu-gcc$
@ -182,7 +182,7 @@ else ifeq ($(platform), psl1ght)
PLATCFLAGS += -D__CELLOS_LV2__ -D__ppc__ -D__POWERPC__ -Dstricmp=strcasecmp PLATCFLAGS += -D__CELLOS_LV2__ -D__ppc__ -D__POWERPC__ -Dstricmp=strcasecmp
STATIC_LINKING = 1 STATIC_LINKING = 1
else ifeq ($(platform), psp1) else ifeq ($(platform), psp1)
TARGET = $(TARGET_NAME)_libretro_psp1.a TARGET = $(TARGET_NAME)_libretro_$(platform).a
CC = psp-gcc$(EXE_EXT) CC = psp-gcc$(EXE_EXT)
AR = psp-ar$(EXE_EXT) AR = psp-ar$(EXE_EXT)
@ -191,7 +191,7 @@ else ifeq ($(platform), psp1)
STATIC_LINKING = 1 STATIC_LINKING = 1
else ifeq ($(platform), vita) else ifeq ($(platform), vita)
TARGET = $(TARGET_NAME)_libretro_vita.a TARGET = $(TARGET_NAME)_libretro_$(platform).a
CC = arm-vita-eabi-gcc$(EXE_EXT) CC = arm-vita-eabi-gcc$(EXE_EXT)
AR = arm-vita-eabi-ar$(EXE_EXT) AR = arm-vita-eabi-ar$(EXE_EXT)