diff options
| author | Jonathan Wase <jonathan@familjenwase.se> | 2021-12-02 23:38:37 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-02 23:38:37 +0100 |
| commit | bc428f7f65b97cc9035aed1dc1b71c54ff2e6c3d (patch) | |
| tree | a9ee5b38a79336db38dd126bec4b538a9a541bbd /libs | |
| parent | 5f187a0776487afa64cb0993b1e96bb5ee115efd (diff) | |
Clean up and improvements to tools (#163)
* 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 <>
Diffstat (limited to 'libs')
44 files changed, 88 insertions, 88 deletions
diff --git a/libs/JSystem/J2DGraph/Makefile b/libs/JSystem/J2DGraph/Makefile index 2cf91e51b3..d3fc92ef46 100644 --- a/libs/JSystem/J2DGraph/Makefile +++ b/libs/JSystem/J2DGraph/Makefile @@ -58,6 +58,6 @@ $(BUILD_DIR)/libJ2DGraph.a: $(LIBJ2DGRAPH_A_O_FILES) $(BUILD_DIR)/libs/JSystem/J2DGraph/%.o: libs/JSystem/J2DGraph/%.cpp @mkdir -p $(@D) @echo building... $< - @iconv -f UTF-8 -t CP932 < $< > $@.iconv.cpp - @$(CC) $(CFLAGS) $(LIBJ2DGRAPH_A_CFLAGS) -c -o $@ $@.iconv.cpp + @$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp + @$(CC) $(CFLAGS) $(LIBJ2DGRAPH_A_CFLAGS) -c -o $@ $(basename $@).cpp diff --git a/libs/JSystem/J3DGraphAnimator/Makefile b/libs/JSystem/J3DGraphAnimator/Makefile index febf03726b..cf3389d85e 100644 --- a/libs/JSystem/J3DGraphAnimator/Makefile +++ b/libs/JSystem/J3DGraphAnimator/Makefile @@ -44,6 +44,6 @@ $(BUILD_DIR)/libJ3DGraphAnimator.a: $(LIBJ3DGRAPHANIMATOR_A_O_FILES) $(BUILD_DIR)/libs/JSystem/J3DGraphAnimator/%.o: libs/JSystem/J3DGraphAnimator/%.cpp @mkdir -p $(@D) @echo building... $< - @iconv -f UTF-8 -t CP932 < $< > $@.iconv.cpp - @$(CC) $(CFLAGS) $(LIBJ3DGRAPHANIMATOR_A_CFLAGS) -c -o $@ $@.iconv.cpp + @$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp + @$(CC) $(CFLAGS) $(LIBJ3DGRAPHANIMATOR_A_CFLAGS) -c -o $@ $(basename $@).cpp diff --git a/libs/JSystem/J3DGraphBase/Makefile b/libs/JSystem/J3DGraphBase/Makefile index ba29c56e49..82af2f83b3 100644 --- a/libs/JSystem/J3DGraphBase/Makefile +++ b/libs/JSystem/J3DGraphBase/Makefile @@ -50,6 +50,6 @@ $(BUILD_DIR)/libJ3DGraphBase.a: $(LIBJ3DGRAPHBASE_A_O_FILES) $(BUILD_DIR)/libs/JSystem/J3DGraphBase/%.o: libs/JSystem/J3DGraphBase/%.cpp @mkdir -p $(@D) @echo building... $< - @iconv -f UTF-8 -t CP932 < $< > $@.iconv.cpp - @$(CC) $(CFLAGS) $(LIBJ3DGRAPHBASE_A_CFLAGS) -c -o $@ $@.iconv.cpp + @$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp + @$(CC) $(CFLAGS) $(LIBJ3DGRAPHBASE_A_CFLAGS) -c -o $@ $(basename $@).cpp diff --git a/libs/JSystem/J3DGraphLoader/Makefile b/libs/JSystem/J3DGraphLoader/Makefile index cb2ac6536d..01b3dee5bc 100644 --- a/libs/JSystem/J3DGraphLoader/Makefile +++ b/libs/JSystem/J3DGraphLoader/Makefile @@ -38,6 +38,6 @@ $(BUILD_DIR)/libJ3DGraphLoader.a: $(LIBJ3DGRAPHLOADER_A_O_FILES) $(BUILD_DIR)/libs/JSystem/J3DGraphLoader/%.o: libs/JSystem/J3DGraphLoader/%.cpp @mkdir -p $(@D) @echo building... $< - @iconv -f UTF-8 -t CP932 < $< > $@.iconv.cpp - @$(CC) $(CFLAGS) $(LIBJ3DGRAPHLOADER_A_CFLAGS) -c -o $@ $@.iconv.cpp + @$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp + @$(CC) $(CFLAGS) $(LIBJ3DGRAPHLOADER_A_CFLAGS) -c -o $@ $(basename $@).cpp diff --git a/libs/JSystem/J3DU/Makefile b/libs/JSystem/J3DU/Makefile index cb6818b81a..5d551ad846 100644 --- a/libs/JSystem/J3DU/Makefile +++ b/libs/JSystem/J3DU/Makefile @@ -26,6 +26,6 @@ $(BUILD_DIR)/libJ3DU.a: $(LIBJ3DU_A_O_FILES) $(BUILD_DIR)/libs/JSystem/J3DU/%.o: libs/JSystem/J3DU/%.cpp @mkdir -p $(@D) @echo building... $< - @iconv -f UTF-8 -t CP932 < $< > $@.iconv.cpp - @$(CC) $(CFLAGS) $(LIBJ3DU_A_CFLAGS) -c -o $@ $@.iconv.cpp + @$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp + @$(CC) $(CFLAGS) $(LIBJ3DU_A_CFLAGS) -c -o $@ $(basename $@).cpp diff --git a/libs/JSystem/JAudio2/Makefile b/libs/JSystem/JAudio2/Makefile index a972465840..28a05a45da 100644 --- a/libs/JSystem/JAudio2/Makefile +++ b/libs/JSystem/JAudio2/Makefile @@ -158,6 +158,6 @@ $(BUILD_DIR)/libJAudio2.a: $(LIBJAUDIO2_A_O_FILES) $(BUILD_DIR)/libs/JSystem/JAudio2/%.o: libs/JSystem/JAudio2/%.cpp @mkdir -p $(@D) @echo building... $< - @iconv -f UTF-8 -t CP932 < $< > $@.iconv.cpp - @$(CC) $(CFLAGS) $(LIBJAUDIO2_A_CFLAGS) -c -o $@ $@.iconv.cpp + @$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp + @$(CC) $(CFLAGS) $(LIBJAUDIO2_A_CFLAGS) -c -o $@ $(basename $@).cpp diff --git a/libs/JSystem/JFramework/Makefile b/libs/JSystem/JFramework/Makefile index 3b33a534d8..8df842d47a 100644 --- a/libs/JSystem/JFramework/Makefile +++ b/libs/JSystem/JFramework/Makefile @@ -26,6 +26,6 @@ $(BUILD_DIR)/libJFramework.a: $(LIBJFRAMEWORK_A_O_FILES) $(BUILD_DIR)/libs/JSystem/JFramework/%.o: libs/JSystem/JFramework/%.cpp @mkdir -p $(@D) @echo building... $< - @iconv -f UTF-8 -t CP932 < $< > $@.iconv.cpp - @$(CC) $(CFLAGS) $(LIBJFRAMEWORK_A_CFLAGS) -c -o $@ $@.iconv.cpp + @$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp + @$(CC) $(CFLAGS) $(LIBJFRAMEWORK_A_CFLAGS) -c -o $@ $(basename $@).cpp diff --git a/libs/JSystem/JGadget/Makefile b/libs/JSystem/JGadget/Makefile index 1d3039b99f..68f5c8eeb6 100644 --- a/libs/JSystem/JGadget/Makefile +++ b/libs/JSystem/JGadget/Makefile @@ -28,6 +28,6 @@ $(BUILD_DIR)/libJGadget.a: $(LIBJGADGET_A_O_FILES) $(BUILD_DIR)/libs/JSystem/JGadget/%.o: libs/JSystem/JGadget/%.cpp @mkdir -p $(@D) @echo building... $< - @iconv -f UTF-8 -t CP932 < $< > $@.iconv.cpp - @$(CC) $(CFLAGS) $(LIBJGADGET_A_CFLAGS) -c -o $@ $@.iconv.cpp + @$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp + @$(CC) $(CFLAGS) $(LIBJGADGET_A_CFLAGS) -c -o $@ $(basename $@).cpp diff --git a/libs/JSystem/JKernel/Makefile b/libs/JSystem/JKernel/Makefile index 68065da495..3e1c472dce 100644 --- a/libs/JSystem/JKernel/Makefile +++ b/libs/JSystem/JKernel/Makefile @@ -72,6 +72,6 @@ $(BUILD_DIR)/libJKernel.a: $(LIBJKERNEL_A_O_FILES) $(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 + @$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp + @$(CC) $(CFLAGS) $(LIBJKERNEL_A_CFLAGS) -c -o $@ $(basename $@).cpp diff --git a/libs/JSystem/JMath/Makefile b/libs/JSystem/JMath/Makefile index 6f44bfa654..abb8024475 100644 --- a/libs/JSystem/JMath/Makefile +++ b/libs/JSystem/JMath/Makefile @@ -28,6 +28,6 @@ $(BUILD_DIR)/libJMath.a: $(LIBJMATH_A_O_FILES) $(BUILD_DIR)/libs/JSystem/JMath/%.o: libs/JSystem/JMath/%.cpp @mkdir -p $(@D) @echo building... $< - @iconv -f UTF-8 -t CP932 < $< > $@.iconv.cpp - @$(CC) $(CFLAGS) $(LIBJMATH_A_CFLAGS) -c -o $@ $@.iconv.cpp + @$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp + @$(CC) $(CFLAGS) $(LIBJMATH_A_CFLAGS) -c -o $@ $(basename $@).cpp diff --git a/libs/JSystem/JMessage/Makefile b/libs/JSystem/JMessage/Makefile index 6958df60eb..f5755e34f1 100644 --- a/libs/JSystem/JMessage/Makefile +++ b/libs/JSystem/JMessage/Makefile @@ -32,6 +32,6 @@ $(BUILD_DIR)/libJMessage.a: $(LIBJMESSAGE_A_O_FILES) $(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 + @$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp + @$(CC) $(CFLAGS) $(LIBJMESSAGE_A_CFLAGS) -c -o $@ $(basename $@).cpp diff --git a/libs/JSystem/JParticle/Makefile b/libs/JSystem/JParticle/Makefile index 20dc432b1d..8f8c1a34f6 100644 --- a/libs/JSystem/JParticle/Makefile +++ b/libs/JSystem/JParticle/Makefile @@ -52,6 +52,6 @@ $(BUILD_DIR)/libJParticle.a: $(LIBJPARTICLE_A_O_FILES) $(BUILD_DIR)/libs/JSystem/JParticle/%.o: libs/JSystem/JParticle/%.cpp @mkdir -p $(@D) @echo building... $< - @iconv -f UTF-8 -t CP932 < $< > $@.iconv.cpp - @$(CC) $(CFLAGS) $(LIBJPARTICLE_A_CFLAGS) -c -o $@ $@.iconv.cpp + @$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp + @$(CC) $(CFLAGS) $(LIBJPARTICLE_A_CFLAGS) -c -o $@ $(basename $@).cpp diff --git a/libs/JSystem/JStage/Makefile b/libs/JSystem/JStage/Makefile index d7e2fb7c36..b6270b2528 100644 --- a/libs/JSystem/JStage/Makefile +++ b/libs/JSystem/JStage/Makefile @@ -36,6 +36,6 @@ $(BUILD_DIR)/libJStage.a: $(LIBJSTAGE_A_O_FILES) $(BUILD_DIR)/libs/JSystem/JStage/%.o: libs/JSystem/JStage/%.cpp @mkdir -p $(@D) @echo building... $< - @iconv -f UTF-8 -t CP932 < $< > $@.iconv.cpp - @$(CC) $(CFLAGS) $(LIBJSTAGE_A_CFLAGS) -c -o $@ $@.iconv.cpp + @$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp + @$(CC) $(CFLAGS) $(LIBJSTAGE_A_CFLAGS) -c -o $@ $(basename $@).cpp diff --git a/libs/JSystem/JStudio/JStudio/Makefile b/libs/JSystem/JStudio/JStudio/Makefile index c8f56e5b26..babd1d84de 100644 --- a/libs/JSystem/JStudio/JStudio/Makefile +++ b/libs/JSystem/JStudio/JStudio/Makefile @@ -54,6 +54,6 @@ $(BUILD_DIR)/libJStudio.a: $(LIBJSTUDIO_A_O_FILES) $(BUILD_DIR)/libs/JSystem/JStudio/JStudio/%.o: libs/JSystem/JStudio/JStudio/%.cpp @mkdir -p $(@D) @echo building... $< - @iconv -f UTF-8 -t CP932 < $< > $@.iconv.cpp - @$(CC) $(CFLAGS) $(LIBJSTUDIO_A_CFLAGS) -c -o $@ $@.iconv.cpp + @$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp + @$(CC) $(CFLAGS) $(LIBJSTUDIO_A_CFLAGS) -c -o $@ $(basename $@).cpp diff --git a/libs/JSystem/JStudio/JStudio_JAudio2/Makefile b/libs/JSystem/JStudio/JStudio_JAudio2/Makefile index e1d7941579..5ec8a7cd29 100644 --- a/libs/JSystem/JStudio/JStudio_JAudio2/Makefile +++ b/libs/JSystem/JStudio/JStudio_JAudio2/Makefile @@ -26,6 +26,6 @@ $(BUILD_DIR)/libJStudio_JAudio2.a: $(LIBJSTUDIO_JAUDIO2_A_O_FILES) $(BUILD_DIR)/libs/JSystem/JStudio/JStudio_JAudio2/%.o: libs/JSystem/JStudio/JStudio_JAudio2/%.cpp @mkdir -p $(@D) @echo building... $< - @iconv -f UTF-8 -t CP932 < $< > $@.iconv.cpp - @$(CC) $(CFLAGS) $(LIBJSTUDIO_JAUDIO2_A_CFLAGS) -c -o $@ $@.iconv.cpp + @$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp + @$(CC) $(CFLAGS) $(LIBJSTUDIO_JAUDIO2_A_CFLAGS) -c -o $@ $(basename $@).cpp diff --git a/libs/JSystem/JStudio/JStudio_JParticle/Makefile b/libs/JSystem/JStudio/JStudio_JParticle/Makefile index 8bf67212e5..b8db51d5b9 100644 --- a/libs/JSystem/JStudio/JStudio_JParticle/Makefile +++ b/libs/JSystem/JStudio/JStudio_JParticle/Makefile @@ -26,6 +26,6 @@ $(BUILD_DIR)/libJStudio_JParticle.a: $(LIBJSTUDIO_JPARTICLE_A_O_FILES) $(BUILD_DIR)/libs/JSystem/JStudio/JStudio_JParticle/%.o: libs/JSystem/JStudio/JStudio_JParticle/%.cpp @mkdir -p $(@D) @echo building... $< - @iconv -f UTF-8 -t CP932 < $< > $@.iconv.cpp - @$(CC) $(CFLAGS) $(LIBJSTUDIO_JPARTICLE_A_CFLAGS) -c -o $@ $@.iconv.cpp + @$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp + @$(CC) $(CFLAGS) $(LIBJSTUDIO_JPARTICLE_A_CFLAGS) -c -o $@ $(basename $@).cpp diff --git a/libs/JSystem/JStudio/JStudio_JStage/Makefile b/libs/JSystem/JStudio/JStudio_JStage/Makefile index f0116da19f..4c48f6ec89 100644 --- a/libs/JSystem/JStudio/JStudio_JStage/Makefile +++ b/libs/JSystem/JStudio/JStudio_JStage/Makefile @@ -36,6 +36,6 @@ $(BUILD_DIR)/libJStudio_JStage.a: $(LIBJSTUDIO_JSTAGE_A_O_FILES) $(BUILD_DIR)/libs/JSystem/JStudio/JStudio_JStage/%.o: libs/JSystem/JStudio/JStudio_JStage/%.cpp @mkdir -p $(@D) @echo building... $< - @iconv -f UTF-8 -t CP932 < $< > $@.iconv.cpp - @$(CC) $(CFLAGS) $(LIBJSTUDIO_JSTAGE_A_CFLAGS) -c -o $@ $@.iconv.cpp + @$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp + @$(CC) $(CFLAGS) $(LIBJSTUDIO_JSTAGE_A_CFLAGS) -c -o $@ $(basename $@).cpp diff --git a/libs/JSystem/JSupport/Makefile b/libs/JSystem/JSupport/Makefile index 9961fb3e28..66b713ac18 100644 --- a/libs/JSystem/JSupport/Makefile +++ b/libs/JSystem/JSupport/Makefile @@ -30,6 +30,6 @@ $(BUILD_DIR)/libJSupport.a: $(LIBJSUPPORT_A_O_FILES) $(BUILD_DIR)/libs/JSystem/JSupport/%.o: libs/JSystem/JSupport/%.cpp @mkdir -p $(@D) @echo building... $< - @iconv -f UTF-8 -t CP932 < $< > $@.iconv.cpp - @$(CC) $(CFLAGS) $(LIBJSUPPORT_A_CFLAGS) -c -o $@ $@.iconv.cpp + @$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp + @$(CC) $(CFLAGS) $(LIBJSUPPORT_A_CFLAGS) -c -o $@ $(basename $@).cpp diff --git a/libs/JSystem/JUtility/Makefile b/libs/JSystem/JUtility/Makefile index e1b97dfd47..953ea3b208 100644 --- a/libs/JSystem/JUtility/Makefile +++ b/libs/JSystem/JUtility/Makefile @@ -62,6 +62,6 @@ $(BUILD_DIR)/libJUtility.a: $(LIBJUTILITY_A_O_FILES) $(BUILD_DIR)/libs/JSystem/JUtility/%.o: libs/JSystem/JUtility/%.cpp @mkdir -p $(@D) @echo building... $< - @iconv -f UTF-8 -t CP932 < $< > $@.iconv.cpp - @$(CC) $(CFLAGS) $(LIBJUTILITY_A_CFLAGS) -c -o $@ $@.iconv.cpp + @$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp + @$(CC) $(CFLAGS) $(LIBJUTILITY_A_CFLAGS) -c -o $@ $(basename $@).cpp diff --git a/libs/MSL_C.PPCEABI.bare.H/Makefile b/libs/MSL_C.PPCEABI.bare.H/Makefile index 383edf5728..bd74e7615d 100644 --- a/libs/MSL_C.PPCEABI.bare.H/Makefile +++ b/libs/MSL_C.PPCEABI.bare.H/Makefile @@ -134,6 +134,6 @@ $(BUILD_DIR)/libMSL_C.PPCEABI.bare.H.a: $(LIBMSL_C_PPCEABI_BARE_H_A_O_FILES) $(BUILD_DIR)/libs/MSL_C.PPCEABI.bare.H/%.o: libs/MSL_C.PPCEABI.bare.H/%.cpp @mkdir -p $(@D) @echo building... $< - @iconv -f UTF-8 -t CP932 < $< > $@.iconv.cpp - @$(CC) $(CFLAGS) $(LIBMSL_C_PPCEABI_BARE_H_A_CFLAGS) -c -o $@ $@.iconv.cpp + @$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp + @$(CC) $(CFLAGS) $(LIBMSL_C_PPCEABI_BARE_H_A_CFLAGS) -c -o $@ $(basename $@).cpp diff --git a/libs/Runtime.PPCEABI.H/Makefile b/libs/Runtime.PPCEABI.H/Makefile index 427cc7a8bb..ef6d4d7d73 100644 --- a/libs/Runtime.PPCEABI.H/Makefile +++ b/libs/Runtime.PPCEABI.H/Makefile @@ -40,6 +40,6 @@ $(BUILD_DIR)/libRuntime.PPCEABI.H.a: $(LIBRUNTIME_PPCEABI_H_A_O_FILES) $(BUILD_DIR)/libs/Runtime.PPCEABI.H/%.o: libs/Runtime.PPCEABI.H/%.cpp @mkdir -p $(@D) @echo building... $< - @iconv -f UTF-8 -t CP932 < $< > $@.iconv.cpp - @$(CC) $(CFLAGS) $(LIBRUNTIME_PPCEABI_H_A_CFLAGS) -c -o $@ $@.iconv.cpp + @$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp + @$(CC) $(CFLAGS) $(LIBRUNTIME_PPCEABI_H_A_CFLAGS) -c -o $@ $(basename $@).cpp diff --git a/libs/SSystem/SComponent/Makefile b/libs/SSystem/SComponent/Makefile index f69e2c250c..a169474d19 100644 --- a/libs/SSystem/SComponent/Makefile +++ b/libs/SSystem/SComponent/Makefile @@ -98,6 +98,6 @@ $(BUILD_DIR)/libSComponent.a: $(LIBSCOMPONENT_A_O_FILES) $(BUILD_DIR)/libs/SSystem/SComponent/%.o: libs/SSystem/SComponent/%.cpp @mkdir -p $(@D) @echo building... $< - @iconv -f UTF-8 -t CP932 < $< > $@.iconv.cpp - @$(CC) $(CFLAGS) $(LIBSCOMPONENT_A_CFLAGS) -c -o $@ $@.iconv.cpp + @$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp + @$(CC) $(CFLAGS) $(LIBSCOMPONENT_A_CFLAGS) -c -o $@ $(basename $@).cpp diff --git a/libs/SSystem/SStandard/Makefile b/libs/SSystem/SStandard/Makefile index 33a049acc2..aceba2cd66 100644 --- a/libs/SSystem/SStandard/Makefile +++ b/libs/SSystem/SStandard/Makefile @@ -24,6 +24,6 @@ $(BUILD_DIR)/libSStandard.a: $(LIBSSTANDARD_A_O_FILES) $(BUILD_DIR)/libs/SSystem/SStandard/%.o: libs/SSystem/SStandard/%.cpp @mkdir -p $(@D) @echo building... $< - @iconv -f UTF-8 -t CP932 < $< > $@.iconv.cpp - @$(CC) $(CFLAGS) $(LIBSSTANDARD_A_CFLAGS) -c -o $@ $@.iconv.cpp + @$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp + @$(CC) $(CFLAGS) $(LIBSSTANDARD_A_CFLAGS) -c -o $@ $(basename $@).cpp diff --git a/libs/TRK_MINNOW_DOLPHIN/Makefile b/libs/TRK_MINNOW_DOLPHIN/Makefile index 5306be0a54..525f37c7ed 100644 --- a/libs/TRK_MINNOW_DOLPHIN/Makefile +++ b/libs/TRK_MINNOW_DOLPHIN/Makefile @@ -80,6 +80,6 @@ $(BUILD_DIR)/libTRK_MINNOW_DOLPHIN.a: $(LIBTRK_MINNOW_DOLPHIN_A_O_FILES) $(BUILD_DIR)/libs/TRK_MINNOW_DOLPHIN/%.o: libs/TRK_MINNOW_DOLPHIN/%.cpp @mkdir -p $(@D) @echo building... $< - @iconv -f UTF-8 -t CP932 < $< > $@.iconv.cpp - @$(CC) $(CFLAGS) $(LIBTRK_MINNOW_DOLPHIN_A_CFLAGS) -c -o $@ $@.iconv.cpp + @$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp + @$(CC) $(CFLAGS) $(LIBTRK_MINNOW_DOLPHIN_A_CFLAGS) -c -o $@ $(basename $@).cpp diff --git a/libs/Z2AudioLib/Makefile b/libs/Z2AudioLib/Makefile index 824d9fece5..c24d8ad285 100644 --- a/libs/Z2AudioLib/Makefile +++ b/libs/Z2AudioLib/Makefile @@ -64,6 +64,6 @@ $(BUILD_DIR)/libZ2AudioLib.a: $(LIBZ2AUDIOLIB_A_O_FILES) $(BUILD_DIR)/libs/Z2AudioLib/%.o: libs/Z2AudioLib/%.cpp @mkdir -p $(@D) @echo building... $< - @iconv -f UTF-8 -t CP932 < $< > $@.iconv.cpp - @$(CC) $(CFLAGS) $(LIBZ2AUDIOLIB_A_CFLAGS) -c -o $@ $@.iconv.cpp + @$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp + @$(CC) $(CFLAGS) $(LIBZ2AUDIOLIB_A_CFLAGS) -c -o $@ $(basename $@).cpp diff --git a/libs/amcstubs/Makefile b/libs/amcstubs/Makefile index 73ea658c60..30b800e534 100644 --- a/libs/amcstubs/Makefile +++ b/libs/amcstubs/Makefile @@ -24,6 +24,6 @@ $(BUILD_DIR)/libamcstubs.a: $(LIBAMCSTUBS_A_O_FILES) $(BUILD_DIR)/libs/amcstubs/%.o: libs/amcstubs/%.cpp @mkdir -p $(@D) @echo building... $< - @iconv -f UTF-8 -t CP932 < $< > $@.iconv.cpp - @$(CC) $(CFLAGS) $(LIBAMCSTUBS_A_CFLAGS) -c -o $@ $@.iconv.cpp + @$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp + @$(CC) $(CFLAGS) $(LIBAMCSTUBS_A_CFLAGS) -c -o $@ $(basename $@).cpp diff --git a/libs/dolphin/ai/Makefile b/libs/dolphin/ai/Makefile index 488cc4de36..ac04dae90d 100644 --- a/libs/dolphin/ai/Makefile +++ b/libs/dolphin/ai/Makefile @@ -24,6 +24,6 @@ $(BUILD_DIR)/libai.a: $(LIBAI_A_O_FILES) $(BUILD_DIR)/libs/dolphin/ai/%.o: libs/dolphin/ai/%.cpp @mkdir -p $(@D) @echo building... $< - @iconv -f UTF-8 -t CP932 < $< > $@.iconv.cpp - @$(CC) $(CFLAGS) $(LIBAI_A_CFLAGS) -c -o $@ $@.iconv.cpp + @$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp + @$(CC) $(CFLAGS) $(LIBAI_A_CFLAGS) -c -o $@ $(basename $@).cpp diff --git a/libs/dolphin/ar/Makefile b/libs/dolphin/ar/Makefile index a1349c0835..032caaf45e 100644 --- a/libs/dolphin/ar/Makefile +++ b/libs/dolphin/ar/Makefile @@ -26,6 +26,6 @@ $(BUILD_DIR)/libar.a: $(LIBAR_A_O_FILES) $(BUILD_DIR)/libs/dolphin/ar/%.o: libs/dolphin/ar/%.cpp @mkdir -p $(@D) @echo building... $< - @iconv -f UTF-8 -t CP932 < $< > $@.iconv.cpp - @$(CC) $(CFLAGS) $(LIBAR_A_CFLAGS) -c -o $@ $@.iconv.cpp + @$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp + @$(CC) $(CFLAGS) $(LIBAR_A_CFLAGS) -c -o $@ $(basename $@).cpp diff --git a/libs/dolphin/base/Makefile b/libs/dolphin/base/Makefile index 32082de384..947eb4c808 100644 --- a/libs/dolphin/base/Makefile +++ b/libs/dolphin/base/Makefile @@ -24,6 +24,6 @@ $(BUILD_DIR)/libbase.a: $(LIBBASE_A_O_FILES) $(BUILD_DIR)/libs/dolphin/base/%.o: libs/dolphin/base/%.cpp @mkdir -p $(@D) @echo building... $< - @iconv -f UTF-8 -t CP932 < $< > $@.iconv.cpp - @$(CC) $(CFLAGS) $(LIBBASE_A_CFLAGS) -c -o $@ $@.iconv.cpp + @$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp + @$(CC) $(CFLAGS) $(LIBBASE_A_CFLAGS) -c -o $@ $(basename $@).cpp diff --git a/libs/dolphin/card/Makefile b/libs/dolphin/card/Makefile index a75715a5b6..e6e68d4938 100644 --- a/libs/dolphin/card/Makefile +++ b/libs/dolphin/card/Makefile @@ -50,6 +50,6 @@ $(BUILD_DIR)/libcard.a: $(LIBCARD_A_O_FILES) $(BUILD_DIR)/libs/dolphin/card/%.o: libs/dolphin/card/%.cpp @mkdir -p $(@D) @echo building... $< - @iconv -f UTF-8 -t CP932 < $< > $@.iconv.cpp - @$(CC) $(CFLAGS) $(LIBCARD_A_CFLAGS) -c -o $@ $@.iconv.cpp + @$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp + @$(CC) $(CFLAGS) $(LIBCARD_A_CFLAGS) -c -o $@ $(basename $@).cpp diff --git a/libs/dolphin/db/Makefile b/libs/dolphin/db/Makefile index dfd026922e..aaf31529b8 100644 --- a/libs/dolphin/db/Makefile +++ b/libs/dolphin/db/Makefile @@ -24,6 +24,6 @@ $(BUILD_DIR)/libdb.a: $(LIBDB_A_O_FILES) $(BUILD_DIR)/libs/dolphin/db/%.o: libs/dolphin/db/%.cpp @mkdir -p $(@D) @echo building... $< - @iconv -f UTF-8 -t CP932 < $< > $@.iconv.cpp - @$(CC) $(CFLAGS) $(LIBDB_A_CFLAGS) -c -o $@ $@.iconv.cpp + @$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp + @$(CC) $(CFLAGS) $(LIBDB_A_CFLAGS) -c -o $@ $(basename $@).cpp diff --git a/libs/dolphin/dsp/Makefile b/libs/dolphin/dsp/Makefile index de59b8f4f7..9b85f6c13b 100644 --- a/libs/dolphin/dsp/Makefile +++ b/libs/dolphin/dsp/Makefile @@ -28,6 +28,6 @@ $(BUILD_DIR)/libdsp.a: $(LIBDSP_A_O_FILES) $(BUILD_DIR)/libs/dolphin/dsp/%.o: libs/dolphin/dsp/%.cpp @mkdir -p $(@D) @echo building... $< - @iconv -f UTF-8 -t CP932 < $< > $@.iconv.cpp - @$(CC) $(CFLAGS) $(LIBDSP_A_CFLAGS) -c -o $@ $@.iconv.cpp + @$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp + @$(CC) $(CFLAGS) $(LIBDSP_A_CFLAGS) -c -o $@ $(basename $@).cpp diff --git a/libs/dolphin/dvd/Makefile b/libs/dolphin/dvd/Makefile index d0d26f016e..89a730f084 100644 --- a/libs/dolphin/dvd/Makefile +++ b/libs/dolphin/dvd/Makefile @@ -38,6 +38,6 @@ $(BUILD_DIR)/libdvd.a: $(LIBDVD_A_O_FILES) $(BUILD_DIR)/libs/dolphin/dvd/%.o: libs/dolphin/dvd/%.cpp @mkdir -p $(@D) @echo building... $< - @iconv -f UTF-8 -t CP932 < $< > $@.iconv.cpp - @$(CC) $(CFLAGS) $(LIBDVD_A_CFLAGS) -c -o $@ $@.iconv.cpp + @$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp + @$(CC) $(CFLAGS) $(LIBDVD_A_CFLAGS) -c -o $@ $(basename $@).cpp diff --git a/libs/dolphin/gd/Makefile b/libs/dolphin/gd/Makefile index d1d0ac5e37..ee7580b9e6 100644 --- a/libs/dolphin/gd/Makefile +++ b/libs/dolphin/gd/Makefile @@ -26,6 +26,6 @@ $(BUILD_DIR)/libgd.a: $(LIBGD_A_O_FILES) $(BUILD_DIR)/libs/dolphin/gd/%.o: libs/dolphin/gd/%.cpp @mkdir -p $(@D) @echo building... $< - @iconv -f UTF-8 -t CP932 < $< > $@.iconv.cpp - @$(CC) $(CFLAGS) $(LIBGD_A_CFLAGS) -c -o $@ $@.iconv.cpp + @$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp + @$(CC) $(CFLAGS) $(LIBGD_A_CFLAGS) -c -o $@ $(basename $@).cpp diff --git a/libs/dolphin/gf/Makefile b/libs/dolphin/gf/Makefile index 5ecee412df..ed9e459fd6 100644 --- a/libs/dolphin/gf/Makefile +++ b/libs/dolphin/gf/Makefile @@ -30,6 +30,6 @@ $(BUILD_DIR)/libgf.a: $(LIBGF_A_O_FILES) $(BUILD_DIR)/libs/dolphin/gf/%.o: libs/dolphin/gf/%.cpp @mkdir -p $(@D) @echo building... $< - @iconv -f UTF-8 -t CP932 < $< > $@.iconv.cpp - @$(CC) $(CFLAGS) $(LIBGF_A_CFLAGS) -c -o $@ $@.iconv.cpp + @$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp + @$(CC) $(CFLAGS) $(LIBGF_A_CFLAGS) -c -o $@ $(basename $@).cpp diff --git a/libs/dolphin/gx/Makefile b/libs/dolphin/gx/Makefile index 1f065b9ac0..9b34fdb414 100644 --- a/libs/dolphin/gx/Makefile +++ b/libs/dolphin/gx/Makefile @@ -50,6 +50,6 @@ $(BUILD_DIR)/libgx.a: $(LIBGX_A_O_FILES) $(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 + @$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp + @$(CC) $(CFLAGS) $(LIBGX_A_CFLAGS) -c -o $@ $(basename $@).cpp diff --git a/libs/dolphin/mtx/Makefile b/libs/dolphin/mtx/Makefile index 3413df5f11..0f488dad09 100644 --- a/libs/dolphin/mtx/Makefile +++ b/libs/dolphin/mtx/Makefile @@ -32,6 +32,6 @@ $(BUILD_DIR)/libmtx.a: $(LIBMTX_A_O_FILES) $(BUILD_DIR)/libs/dolphin/mtx/%.o: libs/dolphin/mtx/%.cpp @mkdir -p $(@D) @echo building... $< - @iconv -f UTF-8 -t CP932 < $< > $@.iconv.cpp - @$(CC) $(CFLAGS) $(LIBMTX_A_CFLAGS) -c -o $@ $@.iconv.cpp + @$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp + @$(CC) $(CFLAGS) $(LIBMTX_A_CFLAGS) -c -o $@ $(basename $@).cpp diff --git a/libs/dolphin/os/Makefile b/libs/dolphin/os/Makefile index 76cc338825..0b83385b86 100644 --- a/libs/dolphin/os/Makefile +++ b/libs/dolphin/os/Makefile @@ -68,6 +68,6 @@ $(BUILD_DIR)/libos.a: $(LIBOS_A_O_FILES) $(BUILD_DIR)/libs/dolphin/os/%.o: libs/dolphin/os/%.cpp @mkdir -p $(@D) @echo building... $< - @iconv -f UTF-8 -t CP932 < $< > $@.iconv.cpp - @$(CC) $(CFLAGS) $(LIBOS_A_CFLAGS) -c -o $@ $@.iconv.cpp + @$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp + @$(CC) $(CFLAGS) $(LIBOS_A_CFLAGS) -c -o $@ $(basename $@).cpp diff --git a/libs/dolphin/pad/Makefile b/libs/dolphin/pad/Makefile index 9b12c9394c..e49e2cc240 100644 --- a/libs/dolphin/pad/Makefile +++ b/libs/dolphin/pad/Makefile @@ -26,6 +26,6 @@ $(BUILD_DIR)/libpad.a: $(LIBPAD_A_O_FILES) $(BUILD_DIR)/libs/dolphin/pad/%.o: libs/dolphin/pad/%.cpp @mkdir -p $(@D) @echo building... $< - @iconv -f UTF-8 -t CP932 < $< > $@.iconv.cpp - @$(CC) $(CFLAGS) $(LIBPAD_A_CFLAGS) -c -o $@ $@.iconv.cpp + @$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp + @$(CC) $(CFLAGS) $(LIBPAD_A_CFLAGS) -c -o $@ $(basename $@).cpp diff --git a/libs/dolphin/si/Makefile b/libs/dolphin/si/Makefile index 8fdf102976..0102fb62ac 100644 --- a/libs/dolphin/si/Makefile +++ b/libs/dolphin/si/Makefile @@ -26,6 +26,6 @@ $(BUILD_DIR)/libsi.a: $(LIBSI_A_O_FILES) $(BUILD_DIR)/libs/dolphin/si/%.o: libs/dolphin/si/%.cpp @mkdir -p $(@D) @echo building... $< - @iconv -f UTF-8 -t CP932 < $< > $@.iconv.cpp - @$(CC) $(CFLAGS) $(LIBSI_A_CFLAGS) -c -o $@ $@.iconv.cpp + @$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp + @$(CC) $(CFLAGS) $(LIBSI_A_CFLAGS) -c -o $@ $(basename $@).cpp diff --git a/libs/dolphin/vi/Makefile b/libs/dolphin/vi/Makefile index 069d9bfa3e..dd66f4e1a5 100644 --- a/libs/dolphin/vi/Makefile +++ b/libs/dolphin/vi/Makefile @@ -24,6 +24,6 @@ $(BUILD_DIR)/libvi.a: $(LIBVI_A_O_FILES) $(BUILD_DIR)/libs/dolphin/vi/%.o: libs/dolphin/vi/%.cpp @mkdir -p $(@D) @echo building... $< - @iconv -f UTF-8 -t CP932 < $< > $@.iconv.cpp - @$(CC) $(CFLAGS) $(LIBVI_A_CFLAGS) -c -o $@ $@.iconv.cpp + @$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp + @$(CC) $(CFLAGS) $(LIBVI_A_CFLAGS) -c -o $@ $(basename $@).cpp diff --git a/libs/exi/Makefile b/libs/exi/Makefile index 0947c5243f..56e5b8f9a8 100644 --- a/libs/exi/Makefile +++ b/libs/exi/Makefile @@ -26,6 +26,6 @@ $(BUILD_DIR)/libexi.a: $(LIBEXI_A_O_FILES) $(BUILD_DIR)/libs/exi/%.o: libs/exi/%.cpp @mkdir -p $(@D) @echo building... $< - @iconv -f UTF-8 -t CP932 < $< > $@.iconv.cpp - @$(CC) $(CFLAGS) $(LIBEXI_A_CFLAGS) -c -o $@ $@.iconv.cpp + @$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp + @$(CC) $(CFLAGS) $(LIBEXI_A_CFLAGS) -c -o $@ $(basename $@).cpp diff --git a/libs/odemuexi2/Makefile b/libs/odemuexi2/Makefile index 23f8029527..a42c27728a 100644 --- a/libs/odemuexi2/Makefile +++ b/libs/odemuexi2/Makefile @@ -24,6 +24,6 @@ $(BUILD_DIR)/libodemuexi2.a: $(LIBODEMUEXI2_A_O_FILES) $(BUILD_DIR)/libs/odemuexi2/%.o: libs/odemuexi2/%.cpp @mkdir -p $(@D) @echo building... $< - @iconv -f UTF-8 -t CP932 < $< > $@.iconv.cpp - @$(CC) $(CFLAGS) $(LIBODEMUEXI2_A_CFLAGS) -c -o $@ $@.iconv.cpp + @$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp + @$(CC) $(CFLAGS) $(LIBODEMUEXI2_A_CFLAGS) -c -o $@ $(basename $@).cpp diff --git a/libs/odenotstub/Makefile b/libs/odenotstub/Makefile index 08080085f4..0ac22f017b 100644 --- a/libs/odenotstub/Makefile +++ b/libs/odenotstub/Makefile @@ -24,6 +24,6 @@ $(BUILD_DIR)/libodenotstub.a: $(LIBODENOTSTUB_A_O_FILES) $(BUILD_DIR)/libs/odenotstub/%.o: libs/odenotstub/%.cpp @mkdir -p $(@D) @echo building... $< - @iconv -f UTF-8 -t CP932 < $< > $@.iconv.cpp - @$(CC) $(CFLAGS) $(LIBODENOTSTUB_A_CFLAGS) -c -o $@ $@.iconv.cpp + @$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp + @$(CC) $(CFLAGS) $(LIBODENOTSTUB_A_CFLAGS) -c -o $@ $(basename $@).cpp |
