Files
tp/libs/JSystem/JParticle/Makefile
T
Jonathan Wase bc428f7f65 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 <>
2021-12-02 23:38:37 +01:00

58 lines
2.1 KiB
Makefile

#
# Generated By: dol2asm
#
LIBJPARTICLE_A_CPP_FILES := \
libs/JSystem/JParticle/JPAResourceManager.cpp \
libs/JSystem/JParticle/JPAResource.cpp \
libs/JSystem/JParticle/JPABaseShape.cpp \
libs/JSystem/JParticle/JPAExtraShape.cpp \
libs/JSystem/JParticle/JPAChildShape.cpp \
libs/JSystem/JParticle/JPAExTexShape.cpp \
libs/JSystem/JParticle/JPADynamicsBlock.cpp \
libs/JSystem/JParticle/JPAFieldBlock.cpp \
libs/JSystem/JParticle/JPAKeyBlock.cpp \
libs/JSystem/JParticle/JPATexture.cpp \
libs/JSystem/JParticle/JPAResourceLoader.cpp \
libs/JSystem/JParticle/JPAEmitterManager.cpp \
libs/JSystem/JParticle/JPAEmitter.cpp \
libs/JSystem/JParticle/JPAParticle.cpp \
libs/JSystem/JParticle/JPAMath.cpp \
LIBJPARTICLE_A_O_FILES := \
$(BUILD_DIR)/libs/JSystem/JParticle/JPAResourceManager.o \
$(BUILD_DIR)/libs/JSystem/JParticle/JPAResource.o \
$(BUILD_DIR)/libs/JSystem/JParticle/JPABaseShape.o \
$(BUILD_DIR)/libs/JSystem/JParticle/JPAExtraShape.o \
$(BUILD_DIR)/libs/JSystem/JParticle/JPAChildShape.o \
$(BUILD_DIR)/libs/JSystem/JParticle/JPAExTexShape.o \
$(BUILD_DIR)/libs/JSystem/JParticle/JPADynamicsBlock.o \
$(BUILD_DIR)/libs/JSystem/JParticle/JPAFieldBlock.o \
$(BUILD_DIR)/libs/JSystem/JParticle/JPAKeyBlock.o \
$(BUILD_DIR)/libs/JSystem/JParticle/JPATexture.o \
$(BUILD_DIR)/libs/JSystem/JParticle/JPAResourceLoader.o \
$(BUILD_DIR)/libs/JSystem/JParticle/JPAEmitterManager.o \
$(BUILD_DIR)/libs/JSystem/JParticle/JPAEmitter.o \
$(BUILD_DIR)/libs/JSystem/JParticle/JPAParticle.o \
$(BUILD_DIR)/libs/JSystem/JParticle/JPAMath.o \
LIBJPARTICLE_A_CFLAGS := \
LIBJPARTICLE_A_LDFLAGS := \
-nodefaults \
-fp hard \
-proc gekko \
-linkmode moreram \
$(BUILD_DIR)/libJParticle.a: $(LIBJPARTICLE_A_O_FILES)
@echo linking... $(BUILD_DIR)/libJParticle.a
@echo $(LIBJPARTICLE_A_O_FILES) > build/LIBJPARTICLE_A_ofiles
@$(LD) -xm l $(LIBJPARTICLE_A_LDFLAGS) -o $(BUILD_DIR)/libJParticle.a @build/LIBJPARTICLE_A_ofiles
$(BUILD_DIR)/libs/JSystem/JParticle/%.o: libs/JSystem/JParticle/%.cpp
@mkdir -p $(@D)
@echo building... $<
@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp
@$(CC) $(CFLAGS) $(LIBJPARTICLE_A_CFLAGS) -c -o $@ $(basename $@).cpp