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

78 lines
2.9 KiB
Makefile

#
# Generated By: dol2asm
#
LIBJKERNEL_A_CPP_FILES := \
libs/JSystem/JKernel/JKRHeap.cpp \
libs/JSystem/JKernel/JKRExpHeap.cpp \
libs/JSystem/JKernel/JKRSolidHeap.cpp \
libs/JSystem/JKernel/JKRAssertHeap.cpp \
libs/JSystem/JKernel/JKRDisposer.cpp \
libs/JSystem/JKernel/JKRThread.cpp \
libs/JSystem/JKernel/JKRAram.cpp \
libs/JSystem/JKernel/JKRAramHeap.cpp \
libs/JSystem/JKernel/JKRAramBlock.cpp \
libs/JSystem/JKernel/JKRAramPiece.cpp \
libs/JSystem/JKernel/JKRAramStream.cpp \
libs/JSystem/JKernel/JKRFileLoader.cpp \
libs/JSystem/JKernel/JKRFileFinder.cpp \
libs/JSystem/JKernel/JKRFileCache.cpp \
libs/JSystem/JKernel/JKRArchivePub.cpp \
libs/JSystem/JKernel/JKRArchivePri.cpp \
libs/JSystem/JKernel/JKRMemArchive.cpp \
libs/JSystem/JKernel/JKRAramArchive.cpp \
libs/JSystem/JKernel/JKRDvdArchive.cpp \
libs/JSystem/JKernel/JKRCompArchive.cpp \
libs/JSystem/JKernel/JKRFile.cpp \
libs/JSystem/JKernel/JKRDvdFile.cpp \
libs/JSystem/JKernel/JKRDvdRipper.cpp \
libs/JSystem/JKernel/JKRDvdAramRipper.cpp \
libs/JSystem/JKernel/JKRDecomp.cpp \
LIBJKERNEL_A_O_FILES := \
$(BUILD_DIR)/libs/JSystem/JKernel/JKRHeap.o \
$(BUILD_DIR)/libs/JSystem/JKernel/JKRExpHeap.o \
$(BUILD_DIR)/libs/JSystem/JKernel/JKRSolidHeap.o \
$(BUILD_DIR)/libs/JSystem/JKernel/JKRAssertHeap.o \
$(BUILD_DIR)/libs/JSystem/JKernel/JKRDisposer.o \
$(BUILD_DIR)/libs/JSystem/JKernel/JKRThread.o \
$(BUILD_DIR)/libs/JSystem/JKernel/JKRAram.o \
$(BUILD_DIR)/libs/JSystem/JKernel/JKRAramHeap.o \
$(BUILD_DIR)/libs/JSystem/JKernel/JKRAramBlock.o \
$(BUILD_DIR)/libs/JSystem/JKernel/JKRAramPiece.o \
$(BUILD_DIR)/libs/JSystem/JKernel/JKRAramStream.o \
$(BUILD_DIR)/libs/JSystem/JKernel/JKRFileLoader.o \
$(BUILD_DIR)/libs/JSystem/JKernel/JKRFileFinder.o \
$(BUILD_DIR)/libs/JSystem/JKernel/JKRFileCache.o \
$(BUILD_DIR)/libs/JSystem/JKernel/JKRArchivePub.o \
$(BUILD_DIR)/libs/JSystem/JKernel/JKRArchivePri.o \
$(BUILD_DIR)/libs/JSystem/JKernel/JKRMemArchive.o \
$(BUILD_DIR)/libs/JSystem/JKernel/JKRAramArchive.o \
$(BUILD_DIR)/libs/JSystem/JKernel/JKRDvdArchive.o \
$(BUILD_DIR)/libs/JSystem/JKernel/JKRCompArchive.o \
$(BUILD_DIR)/libs/JSystem/JKernel/JKRFile.o \
$(BUILD_DIR)/libs/JSystem/JKernel/JKRDvdFile.o \
$(BUILD_DIR)/libs/JSystem/JKernel/JKRDvdRipper.o \
$(BUILD_DIR)/libs/JSystem/JKernel/JKRDvdAramRipper.o \
$(BUILD_DIR)/libs/JSystem/JKernel/JKRDecomp.o \
LIBJKERNEL_A_CFLAGS := \
LIBJKERNEL_A_LDFLAGS := \
-nodefaults \
-fp hard \
-proc gekko \
-linkmode moreram \
$(BUILD_DIR)/libJKernel.a: $(LIBJKERNEL_A_O_FILES)
@echo linking... $(BUILD_DIR)/libJKernel.a
@echo $(LIBJKERNEL_A_O_FILES) > build/LIBJKERNEL_A_ofiles
@$(LD) -xm l $(LIBJKERNEL_A_LDFLAGS) -o $(BUILD_DIR)/libJKernel.a @build/LIBJKERNEL_A_ofiles
$(BUILD_DIR)/libs/JSystem/JKernel/%.o: libs/JSystem/JKernel/%.cpp
@mkdir -p $(@D)
@echo building... $<
@iconv -f UTF-8 -t CP932 < $< > $@.iconv.cpp
@$(CC) $(CFLAGS) $(LIBJKERNEL_A_CFLAGS) -c -o $@ $@.iconv.cpp