Files
tp/libs/dolphin/gx/Makefile
T
Jasper St. Pierre 462d71cbef Makefile fixes / JUTNameTab (#129)
* Makefile: Fix issues with iconv causing it to break under devkitPro / msys

The version of iconv included in devkitPro does not have a -o option,
so replace it with normal shell redirection. Also, SHIFT-JIS does not
have a mapping for ~, so output the Windows CP932 variant instead,
which does. See:
https://en.wikipedia.org/wiki/Tilde#Unicode_and_Shift_JIS_encoding_of_wave_dash
https://en.wikipedia.org/wiki/Code_page_932_(Microsoft_Windows)#Single-byte_character_differences

* Update diff configuration

-Bbinary doesn't seem to work with my copy of
bjdump (it says it can't decode unknown architecture)

Cheese things by using expected/ instead of having
the user place things manually.

* JUTNameTab

* J3DPacket / J3DDrawBuffer

* format

Co-authored-by: lepelog <lepelog@users.noreply.github.com>
2021-05-10 11:54:07 -04:00

56 lines
1.6 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 := \
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 < $< > $@.iconv.cpp
@$(CC) $(CFLAGS) $(LIBGX_A_CFLAGS) -c -o $@ $@.iconv.cpp