Adds libretro target 'ngc'

This commit is contained in:
Twinaphex 2012-09-01 03:12:03 +02:00
parent bd0bfbe488
commit 3f909617b0

View File

@ -61,11 +61,16 @@ else ifeq ($(platform), xenon)
CC = xenon-gcc$(EXE_EXT) CC = xenon-gcc$(EXE_EXT)
AR = xenon-ar$(EXE_EXT) AR = xenon-ar$(EXE_EXT)
PLATFORM_DEFINES := -D__LIBXENON__ -DALT_RENDER PLATFORM_DEFINES := -D__LIBXENON__ -DALT_RENDER
else ifeq ($(platform), ngc)
TARGET := libretro_ngc.a
CC = $(DEVKITPPC)/bin/powerpc-eabi-gcc$(EXE_EXT)
AR = $(DEVKITPPC)/bin/powerpc-eabi-ar$(EXE_EXT)
PLATFORM_DEFINES := -DGEKKO -DHW_DOL -mrvl -mcpu=750 -meabi -mhard-float -DALT_RENDER
else ifeq ($(platform), wii) else ifeq ($(platform), wii)
TARGET := libretro_wii.a TARGET := libretro_wii.a
CC = $(DEVKITPPC)/bin/powerpc-eabi-gcc$(EXE_EXT) CC = $(DEVKITPPC)/bin/powerpc-eabi-gcc$(EXE_EXT)
AR = $(DEVKITPPC)/bin/powerpc-eabi-ar$(EXE_EXT) AR = $(DEVKITPPC)/bin/powerpc-eabi-ar$(EXE_EXT)
PLATFORM_DEFINES := -DGEKKO -mrvl -mcpu=750 -meabi -mhard-float -DALT_RENDER PLATFORM_DEFINES := -DGEKKO -DHW_RVL -mrvl -mcpu=750 -meabi -mhard-float -DALT_RENDER
else else
TARGET := retro.dll TARGET := retro.dll
CC = gcc CC = gcc
@ -182,6 +187,8 @@ else ifeq ($(platform), psl1ght)
$(AR) rcs $@ $(LIBRETRO_OBJ) $(AR) rcs $@ $(LIBRETRO_OBJ)
else ifeq ($(platform), xenon) else ifeq ($(platform), xenon)
$(AR) rcs $@ $(LIBRETRO_OBJ) $(AR) rcs $@ $(LIBRETRO_OBJ)
else ifeq ($(platform), ngc)
$(AR) rcs $@ $(LIBRETRO_OBJ)
else ifeq ($(platform), wii) else ifeq ($(platform), wii)
$(AR) rcs $@ $(LIBRETRO_OBJ) $(AR) rcs $@ $(LIBRETRO_OBJ)
else else