tp/libs/dolphin/os/Makefile

74 lines
2.2 KiB
Makefile

#
# Generated By: dol2asm
#
LIBOS_A_CPP_FILES := \
libs/dolphin/os/OS.cpp \
libs/dolphin/os/OSAlarm.cpp \
libs/dolphin/os/OSAlloc.cpp \
libs/dolphin/os/OSArena.cpp \
libs/dolphin/os/OSAudioSystem.cpp \
libs/dolphin/os/OSCache.cpp \
libs/dolphin/os/OSContext.cpp \
libs/dolphin/os/OSError.cpp \
libs/dolphin/os/OSExec.cpp \
libs/dolphin/os/OSFont.cpp \
libs/dolphin/os/OSInterrupt.cpp \
libs/dolphin/os/OSLink.cpp \
libs/dolphin/os/OSMessage.cpp \
libs/dolphin/os/OSMemory.cpp \
libs/dolphin/os/OSMutex.cpp \
libs/dolphin/os/OSReboot.cpp \
libs/dolphin/os/OSReset.cpp \
libs/dolphin/os/OSResetSW.cpp \
libs/dolphin/os/OSRtc.cpp \
libs/dolphin/os/OSSync.cpp \
libs/dolphin/os/OSThread.cpp \
libs/dolphin/os/OSTime.cpp \
libs/dolphin/os/__ppc_eabi_init.cpp \
LIBOS_A_O_FILES := \
$(BUILD_DIR)/libs/dolphin/os/OS.o \
$(BUILD_DIR)/libs/dolphin/os/OSAlarm.o \
$(BUILD_DIR)/libs/dolphin/os/OSAlloc.o \
$(BUILD_DIR)/libs/dolphin/os/OSArena.o \
$(BUILD_DIR)/libs/dolphin/os/OSAudioSystem.o \
$(BUILD_DIR)/libs/dolphin/os/OSCache.o \
$(BUILD_DIR)/libs/dolphin/os/OSContext.o \
$(BUILD_DIR)/libs/dolphin/os/OSError.o \
$(BUILD_DIR)/libs/dolphin/os/OSExec.o \
$(BUILD_DIR)/libs/dolphin/os/OSFont.o \
$(BUILD_DIR)/libs/dolphin/os/OSInterrupt.o \
$(BUILD_DIR)/libs/dolphin/os/OSLink.o \
$(BUILD_DIR)/libs/dolphin/os/OSMessage.o \
$(BUILD_DIR)/libs/dolphin/os/OSMemory.o \
$(BUILD_DIR)/libs/dolphin/os/OSMutex.o \
$(BUILD_DIR)/libs/dolphin/os/OSReboot.o \
$(BUILD_DIR)/libs/dolphin/os/OSReset.o \
$(BUILD_DIR)/libs/dolphin/os/OSResetSW.o \
$(BUILD_DIR)/libs/dolphin/os/OSRtc.o \
$(BUILD_DIR)/libs/dolphin/os/OSSync.o \
$(BUILD_DIR)/libs/dolphin/os/OSThread.o \
$(BUILD_DIR)/libs/dolphin/os/OSTime.o \
$(BUILD_DIR)/libs/dolphin/os/__ppc_eabi_init.o \
LIBOS_A_CFLAGS := \
LIBOS_A_LDFLAGS := \
-nodefaults \
-fp hard \
-proc gekko \
-linkmode moreram \
$(BUILD_DIR)/libos.a: $(LIBOS_A_O_FILES)
@echo linking... $(BUILD_DIR)/libos.a
@echo $(LIBOS_A_O_FILES) > build/LIBOS_A_ofiles
@$(LD) -xm l $(LIBOS_A_LDFLAGS) -o $(BUILD_DIR)/libos.a @build/LIBOS_A_ofiles
$(BUILD_DIR)/libs/dolphin/os/%.o: libs/dolphin/os/%.cpp
@mkdir -p $(@D)
@echo building... $<
@iconv -f UTF-8 -t CP932 < $< > $@.iconv.cpp
@$(CC) $(CFLAGS) $(LIBOS_A_CFLAGS) -c -o $@ $@.iconv.cpp