Files
tp/libs/JSystem/JMessage/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

38 lines
1.1 KiB
Makefile

#
# Generated By: dol2asm
#
LIBJMESSAGE_A_CPP_FILES := \
libs/JSystem/JMessage/control.cpp \
libs/JSystem/JMessage/data.cpp \
libs/JSystem/JMessage/processor.cpp \
libs/JSystem/JMessage/resource.cpp \
libs/JSystem/JMessage/locale.cpp \
LIBJMESSAGE_A_O_FILES := \
$(BUILD_DIR)/libs/JSystem/JMessage/control.o \
$(BUILD_DIR)/libs/JSystem/JMessage/data.o \
$(BUILD_DIR)/libs/JSystem/JMessage/processor.o \
$(BUILD_DIR)/libs/JSystem/JMessage/resource.o \
$(BUILD_DIR)/libs/JSystem/JMessage/locale.o \
LIBJMESSAGE_A_CFLAGS := \
LIBJMESSAGE_A_LDFLAGS := \
-nodefaults \
-fp hard \
-proc gekko \
-linkmode moreram \
$(BUILD_DIR)/libJMessage.a: $(LIBJMESSAGE_A_O_FILES)
@echo linking... $(BUILD_DIR)/libJMessage.a
@echo $(LIBJMESSAGE_A_O_FILES) > build/LIBJMESSAGE_A_ofiles
@$(LD) -xm l $(LIBJMESSAGE_A_LDFLAGS) -o $(BUILD_DIR)/libJMessage.a @build/LIBJMESSAGE_A_ofiles
$(BUILD_DIR)/libs/JSystem/JMessage/%.o: libs/JSystem/JMessage/%.cpp
@mkdir -p $(@D)
@echo building... $<
@iconv -f UTF-8 -t CP932 < $< > $@.iconv.cpp
@$(CC) $(CFLAGS) $(LIBJMESSAGE_A_CFLAGS) -c -o $@ $@.iconv.cpp