mirror of
https://github.com/zeldaret/tp
synced 2026-07-31 08:06:27 -04:00
f8979749e3
* 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
57 lines
1.7 KiB
Makefile
57 lines
1.7 KiB
Makefile
#
|
|
# Generated By: dol2asm
|
|
#
|
|
|
|
LIBGX_A_CPP_FILES := \
|
|
libs/dolphin/gx/GXInit.cpp \
|
|
libs/dolphin/gx/GXFifo.cpp \
|
|
libs/dolphin/gx/GXAttr.cpp \
|
|
libs/dolphin/gx/GXMisc.cpp \
|
|
libs/dolphin/gx/GXGeometry.cpp \
|
|
libs/dolphin/gx/GXFrameBuf.cpp \
|
|
libs/dolphin/gx/GXLight.cpp \
|
|
libs/dolphin/gx/GXTexture.cpp \
|
|
libs/dolphin/gx/GXBump.cpp \
|
|
libs/dolphin/gx/GXTev.cpp \
|
|
libs/dolphin/gx/GXPixel.cpp \
|
|
libs/dolphin/gx/GXDisplayList.cpp \
|
|
libs/dolphin/gx/GXTransform.cpp \
|
|
libs/dolphin/gx/GXPerf.cpp \
|
|
|
|
LIBGX_A_O_FILES := \
|
|
$(BUILD_DIR)/libs/dolphin/gx/GXInit.o \
|
|
$(BUILD_DIR)/libs/dolphin/gx/GXFifo.o \
|
|
$(BUILD_DIR)/libs/dolphin/gx/GXAttr.o \
|
|
$(BUILD_DIR)/libs/dolphin/gx/GXMisc.o \
|
|
$(BUILD_DIR)/libs/dolphin/gx/GXGeometry.o \
|
|
$(BUILD_DIR)/libs/dolphin/gx/GXFrameBuf.o \
|
|
$(BUILD_DIR)/libs/dolphin/gx/GXLight.o \
|
|
$(BUILD_DIR)/libs/dolphin/gx/GXTexture.o \
|
|
$(BUILD_DIR)/libs/dolphin/gx/GXBump.o \
|
|
$(BUILD_DIR)/libs/dolphin/gx/GXTev.o \
|
|
$(BUILD_DIR)/libs/dolphin/gx/GXPixel.o \
|
|
$(BUILD_DIR)/libs/dolphin/gx/GXDisplayList.o \
|
|
$(BUILD_DIR)/libs/dolphin/gx/GXTransform.o \
|
|
$(BUILD_DIR)/libs/dolphin/gx/GXPerf.o \
|
|
|
|
LIBGX_A_CFLAGS := \
|
|
-O4,p \
|
|
|
|
LIBGX_A_LDFLAGS := \
|
|
-nodefaults \
|
|
-fp hard \
|
|
-proc gekko \
|
|
-linkmode moreram \
|
|
|
|
$(BUILD_DIR)/libgx.a: $(LIBGX_A_O_FILES)
|
|
@echo linking... $(BUILD_DIR)/libgx.a
|
|
@echo $(LIBGX_A_O_FILES) > build/LIBGX_A_ofiles
|
|
@$(LD) -xm l $(LIBGX_A_LDFLAGS) -o $(BUILD_DIR)/libgx.a @build/LIBGX_A_ofiles
|
|
|
|
$(BUILD_DIR)/libs/dolphin/gx/%.o: libs/dolphin/gx/%.cpp
|
|
@mkdir -p $(@D)
|
|
@echo building... $<
|
|
@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp
|
|
@$(WINE) tools/mwcc_compiler/1.2.5/mwcceppc.exe $(CFLAGS) $(LIBGX_A_CFLAGS) -c -o $@ $(basename $@).cpp
|
|
|