mirror of
https://github.com/ekeeke/Genesis-Plus-GX.git
synced 2024-12-28 04:01:48 +01:00
commit
cc26641278
@ -61,11 +61,16 @@ else ifeq ($(platform), xenon)
|
||||
CC = xenon-gcc$(EXE_EXT)
|
||||
AR = xenon-ar$(EXE_EXT)
|
||||
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)
|
||||
TARGET := libretro_wii.a
|
||||
CC = $(DEVKITPPC)/bin/powerpc-eabi-gcc$(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
|
||||
TARGET := retro.dll
|
||||
CC = gcc
|
||||
@ -182,15 +187,20 @@ else ifeq ($(platform), psl1ght)
|
||||
$(AR) rcs $@ $(LIBRETRO_OBJ)
|
||||
else ifeq ($(platform), xenon)
|
||||
$(AR) rcs $@ $(LIBRETRO_OBJ)
|
||||
else ifeq ($(platform), ngc)
|
||||
$(AR) rcs $@ $(LIBRETRO_OBJ)
|
||||
else ifeq ($(platform), wii)
|
||||
$(AR) rcs $@ $(LIBRETRO_OBJ)
|
||||
else
|
||||
$(CC) -o $(TARGET) $(fpic) $(LIBRETRO_OBJ) $(LIBRETRO_LIBS) $(SHARED)
|
||||
endif
|
||||
|
||||
clean-objs:
|
||||
rm -f $(LIBRETRO_OBJ)
|
||||
|
||||
clean:
|
||||
rm -f $(LIBRETRO_OBJ)
|
||||
rm -f $(TARGET)
|
||||
|
||||
.PHONY: clean
|
||||
.PHONY: clean clean-objs
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user