mirror of
https://github.com/zeldaret/tp
synced 2026-05-23 06:54:28 -04:00
bc428f7f65
* moved elf2dol * removed postprocess.py * removed vtables.py * find_unused_asm.py * removed section2cpp.py * removed splitter/* * fixed symbol names due to iconv file rename * fixed problem building RELs caused by #160 * improved performance of a few python tools * added new tool for finding conflict when not OK * added ./tp setup * don't install dol2asm dependecies with requirements.txt * format and check for imports * remove unused tools/difftools.py * fixed ignore to include elf2dol * fix compiler patcher * ok-check now creates the patched compiler at mwcceppc_patched.exe * Add new command to copy the build folder to the expected folder * 'make clean' will now only clean main.dol stuff. (added clean_rels and clean_all) * './tp pull-request' and './tp check' now doesn't include RELs by default. Use '--rels' to include them in the process. * './tp remove-unused-asm --check' added, exitcode 0==no files, 1==exists files Co-authored-by: Julgodis <>
68 lines
2.5 KiB
Makefile
68 lines
2.5 KiB
Makefile
#
|
|
# Generated By: dol2asm
|
|
#
|
|
|
|
LIBJUTILITY_A_CPP_FILES := \
|
|
libs/JSystem/JUtility/JUTCacheFont.cpp \
|
|
libs/JSystem/JUtility/JUTResource.cpp \
|
|
libs/JSystem/JUtility/JUTTexture.cpp \
|
|
libs/JSystem/JUtility/JUTPalette.cpp \
|
|
libs/JSystem/JUtility/JUTNameTab.cpp \
|
|
libs/JSystem/JUtility/JUTGraphFifo.cpp \
|
|
libs/JSystem/JUtility/JUTFont.cpp \
|
|
libs/JSystem/JUtility/JUTResFont.cpp \
|
|
libs/JSystem/JUtility/JUTDbPrint.cpp \
|
|
libs/JSystem/JUtility/JUTGamePad.cpp \
|
|
libs/JSystem/JUtility/JUTException.cpp \
|
|
libs/JSystem/JUtility/JUTDirectPrint.cpp \
|
|
libs/JSystem/JUtility/JUTAssert.cpp \
|
|
libs/JSystem/JUtility/JUTVideo.cpp \
|
|
libs/JSystem/JUtility/JUTXfb.cpp \
|
|
libs/JSystem/JUtility/JUTFader.cpp \
|
|
libs/JSystem/JUtility/JUTProcBar.cpp \
|
|
libs/JSystem/JUtility/JUTConsole.cpp \
|
|
libs/JSystem/JUtility/JUTDirectFile.cpp \
|
|
libs/JSystem/JUtility/JUTFontData_Ascfont_fix12.cpp \
|
|
|
|
LIBJUTILITY_A_O_FILES := \
|
|
$(BUILD_DIR)/libs/JSystem/JUtility/JUTCacheFont.o \
|
|
$(BUILD_DIR)/libs/JSystem/JUtility/JUTResource.o \
|
|
$(BUILD_DIR)/libs/JSystem/JUtility/JUTTexture.o \
|
|
$(BUILD_DIR)/libs/JSystem/JUtility/JUTPalette.o \
|
|
$(BUILD_DIR)/libs/JSystem/JUtility/JUTNameTab.o \
|
|
$(BUILD_DIR)/libs/JSystem/JUtility/JUTGraphFifo.o \
|
|
$(BUILD_DIR)/libs/JSystem/JUtility/JUTFont.o \
|
|
$(BUILD_DIR)/libs/JSystem/JUtility/JUTResFont.o \
|
|
$(BUILD_DIR)/libs/JSystem/JUtility/JUTDbPrint.o \
|
|
$(BUILD_DIR)/libs/JSystem/JUtility/JUTGamePad.o \
|
|
$(BUILD_DIR)/libs/JSystem/JUtility/JUTException.o \
|
|
$(BUILD_DIR)/libs/JSystem/JUtility/JUTDirectPrint.o \
|
|
$(BUILD_DIR)/libs/JSystem/JUtility/JUTAssert.o \
|
|
$(BUILD_DIR)/libs/JSystem/JUtility/JUTVideo.o \
|
|
$(BUILD_DIR)/libs/JSystem/JUtility/JUTXfb.o \
|
|
$(BUILD_DIR)/libs/JSystem/JUtility/JUTFader.o \
|
|
$(BUILD_DIR)/libs/JSystem/JUtility/JUTProcBar.o \
|
|
$(BUILD_DIR)/libs/JSystem/JUtility/JUTConsole.o \
|
|
$(BUILD_DIR)/libs/JSystem/JUtility/JUTDirectFile.o \
|
|
$(BUILD_DIR)/libs/JSystem/JUtility/JUTFontData_Ascfont_fix12.o \
|
|
|
|
LIBJUTILITY_A_CFLAGS := \
|
|
|
|
LIBJUTILITY_A_LDFLAGS := \
|
|
-nodefaults \
|
|
-fp hard \
|
|
-proc gekko \
|
|
-linkmode moreram \
|
|
|
|
$(BUILD_DIR)/libJUtility.a: $(LIBJUTILITY_A_O_FILES)
|
|
@echo linking... $(BUILD_DIR)/libJUtility.a
|
|
@echo $(LIBJUTILITY_A_O_FILES) > build/LIBJUTILITY_A_ofiles
|
|
@$(LD) -xm l $(LIBJUTILITY_A_LDFLAGS) -o $(BUILD_DIR)/libJUtility.a @build/LIBJUTILITY_A_ofiles
|
|
|
|
$(BUILD_DIR)/libs/JSystem/JUtility/%.o: libs/JSystem/JUtility/%.cpp
|
|
@mkdir -p $(@D)
|
|
@echo building... $<
|
|
@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp
|
|
@$(CC) $(CFLAGS) $(LIBJUTILITY_A_CFLAGS) -c -o $@ $(basename $@).cpp
|
|
|