Files
dusklight/libs/dolphin/os/Makefile
T
TakaRikka cd401d41d6 j2d / map_path work, d_drawlist / d_attention cleanup (#208)
* work on fop actor / actor mng, daalink, d_a_obj_item

* d_a_title mostly decompiled

* daalink / d_event / JMessage / dmsg_out_font work

* msg_scrn_base / msg_scrn_boss

* some work on mDo machine, d_menu_save, d_tresure, and various

* remove asm

* progress

* finish d_menu_save / d_pane_class_alpha / d_pane_class / rename some data

* rename more data

* remove asm / progress

* match all of d_pane_class

* fixes / some dKankyo doc

* bunch of j2d work. d_drawlist / d_attention cleanup

* progress / asm

* cleanup wip

* decompile JStage

* setup some more JStudio structs

* set up d_demo classes

* some d_demo work

* cleanup dolphin os stuff

* some initial dEvent documentation

* some At collision documentation

* match JUTConsole::doDraw

* dbgs work / split up some of d_a_alink into .inc files

* d_a_alink_spinner work
2022-08-30 15:22:17 -06:00

75 lines
2.3 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 := \
-O4,p \
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 < $< > $(basename $@).cpp
@$(WINE) tools/mwcc_compiler/1.2.5/mwcceppc.exe $(CFLAGS) $(LIBOS_A_CFLAGS) -c -o $@ $(basename $@).cpp