mirror of https://github.com/zeldaret/tp.git
65 lines
2.5 KiB
Makefile
65 lines
2.5 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 $(BUILD_DIR)/libs/JSystem/JParticle/%.d
|
|
@mkdir -p $(@D)
|
|
@echo building... $<
|
|
@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp
|
|
@$(CC) $(CFLAGS) $(LIBJPARTICLE_A_CFLAGS) $(DEPFLAGS) -c -o $(dir $@) $(basename $@).cpp
|
|
@if [ -z '$(DISABLE_DEPS)' ]; then tools/transform-dep.py '$(basename $@).d' '$(basename $@).d'; touch -c $@; fi
|
|
|
|
ifndef DISABLE_DEPS
|
|
LIBJPARTICLE_A_D_FILES := $(LIBJPARTICLE_A_O_FILES:.o=.d)
|
|
$(LIBJPARTICLE_A_D_FILES):
|
|
include $(wildcard $(LIBJPARTICLE_A_D_FILES))
|
|
endif
|
|
|