mirror of
https://github.com/zeldaret/tp
synced 2026-06-01 01:39:43 -04:00
Generate makefiles from dol2asm
This commit is contained in:
@@ -55,9 +55,16 @@ $(BUILD_DIR)/libJ2DGraph.a: $(LIBJ2DGRAPH_A_O_FILES)
|
||||
@echo $(LIBJ2DGRAPH_A_O_FILES) > build/LIBJ2DGRAPH_A_ofiles
|
||||
@$(LD) -xm l $(LIBJ2DGRAPH_A_LDFLAGS) -o $(BUILD_DIR)/libJ2DGraph.a @build/LIBJ2DGRAPH_A_ofiles
|
||||
|
||||
$(BUILD_DIR)/libs/JSystem/J2DGraph/%.o: libs/JSystem/J2DGraph/%.cpp
|
||||
$(BUILD_DIR)/libs/JSystem/J2DGraph/%.o: libs/JSystem/J2DGraph/%.cpp $(BUILD_DIR)/libs/JSystem/J2DGraph/%.d
|
||||
@mkdir -p $(@D)
|
||||
@echo building... $<
|
||||
@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp
|
||||
@$(CC) $(CFLAGS) $(LIBJ2DGRAPH_A_CFLAGS) -c -o $@ $(basename $@).cpp
|
||||
@$(CC) $(CFLAGS) $(LIBJ2DGRAPH_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
|
||||
LIBJ2DGRAPH_A_D_FILES := $(LIBJ2DGRAPH_A_O_FILES:.o=.d)
|
||||
$(LIBJ2DGRAPH_A_D_FILES):
|
||||
include $(wildcard $(LIBJ2DGRAPH_A_D_FILES))
|
||||
endif
|
||||
|
||||
|
||||
@@ -41,9 +41,16 @@ $(BUILD_DIR)/libJ3DGraphAnimator.a: $(LIBJ3DGRAPHANIMATOR_A_O_FILES)
|
||||
@echo $(LIBJ3DGRAPHANIMATOR_A_O_FILES) > build/LIBJ3DGRAPHANIMATOR_A_ofiles
|
||||
@$(LD) -xm l $(LIBJ3DGRAPHANIMATOR_A_LDFLAGS) -o $(BUILD_DIR)/libJ3DGraphAnimator.a @build/LIBJ3DGRAPHANIMATOR_A_ofiles
|
||||
|
||||
$(BUILD_DIR)/libs/JSystem/J3DGraphAnimator/%.o: libs/JSystem/J3DGraphAnimator/%.cpp
|
||||
$(BUILD_DIR)/libs/JSystem/J3DGraphAnimator/%.o: libs/JSystem/J3DGraphAnimator/%.cpp $(BUILD_DIR)/libs/JSystem/J3DGraphAnimator/%.d
|
||||
@mkdir -p $(@D)
|
||||
@echo building... $<
|
||||
@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp
|
||||
@$(CC) $(CFLAGS) $(LIBJ3DGRAPHANIMATOR_A_CFLAGS) -c -o $@ $(basename $@).cpp
|
||||
@$(CC) $(CFLAGS) $(LIBJ3DGRAPHANIMATOR_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
|
||||
LIBJ3DGRAPHANIMATOR_A_D_FILES := $(LIBJ3DGRAPHANIMATOR_A_O_FILES:.o=.d)
|
||||
$(LIBJ3DGRAPHANIMATOR_A_D_FILES):
|
||||
include $(wildcard $(LIBJ3DGRAPHANIMATOR_A_D_FILES))
|
||||
endif
|
||||
|
||||
|
||||
@@ -47,9 +47,16 @@ $(BUILD_DIR)/libJ3DGraphBase.a: $(LIBJ3DGRAPHBASE_A_O_FILES)
|
||||
@echo $(LIBJ3DGRAPHBASE_A_O_FILES) > build/LIBJ3DGRAPHBASE_A_ofiles
|
||||
@$(LD) -xm l $(LIBJ3DGRAPHBASE_A_LDFLAGS) -o $(BUILD_DIR)/libJ3DGraphBase.a @build/LIBJ3DGRAPHBASE_A_ofiles
|
||||
|
||||
$(BUILD_DIR)/libs/JSystem/J3DGraphBase/%.o: libs/JSystem/J3DGraphBase/%.cpp
|
||||
$(BUILD_DIR)/libs/JSystem/J3DGraphBase/%.o: libs/JSystem/J3DGraphBase/%.cpp $(BUILD_DIR)/libs/JSystem/J3DGraphBase/%.d
|
||||
@mkdir -p $(@D)
|
||||
@echo building... $<
|
||||
@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp
|
||||
@$(CC) $(CFLAGS) $(LIBJ3DGRAPHBASE_A_CFLAGS) -c -o $@ $(basename $@).cpp
|
||||
@$(CC) $(CFLAGS) $(LIBJ3DGRAPHBASE_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
|
||||
LIBJ3DGRAPHBASE_A_D_FILES := $(LIBJ3DGRAPHBASE_A_O_FILES:.o=.d)
|
||||
$(LIBJ3DGRAPHBASE_A_D_FILES):
|
||||
include $(wildcard $(LIBJ3DGRAPHBASE_A_D_FILES))
|
||||
endif
|
||||
|
||||
|
||||
@@ -35,9 +35,16 @@ $(BUILD_DIR)/libJ3DGraphLoader.a: $(LIBJ3DGRAPHLOADER_A_O_FILES)
|
||||
@echo $(LIBJ3DGRAPHLOADER_A_O_FILES) > build/LIBJ3DGRAPHLOADER_A_ofiles
|
||||
@$(LD) -xm l $(LIBJ3DGRAPHLOADER_A_LDFLAGS) -o $(BUILD_DIR)/libJ3DGraphLoader.a @build/LIBJ3DGRAPHLOADER_A_ofiles
|
||||
|
||||
$(BUILD_DIR)/libs/JSystem/J3DGraphLoader/%.o: libs/JSystem/J3DGraphLoader/%.cpp
|
||||
$(BUILD_DIR)/libs/JSystem/J3DGraphLoader/%.o: libs/JSystem/J3DGraphLoader/%.cpp $(BUILD_DIR)/libs/JSystem/J3DGraphLoader/%.d
|
||||
@mkdir -p $(@D)
|
||||
@echo building... $<
|
||||
@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp
|
||||
@$(CC) $(CFLAGS) $(LIBJ3DGRAPHLOADER_A_CFLAGS) -c -o $@ $(basename $@).cpp
|
||||
@$(CC) $(CFLAGS) $(LIBJ3DGRAPHLOADER_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
|
||||
LIBJ3DGRAPHLOADER_A_D_FILES := $(LIBJ3DGRAPHLOADER_A_O_FILES:.o=.d)
|
||||
$(LIBJ3DGRAPHLOADER_A_D_FILES):
|
||||
include $(wildcard $(LIBJ3DGRAPHLOADER_A_D_FILES))
|
||||
endif
|
||||
|
||||
|
||||
@@ -23,9 +23,16 @@ $(BUILD_DIR)/libJ3DU.a: $(LIBJ3DU_A_O_FILES)
|
||||
@echo $(LIBJ3DU_A_O_FILES) > build/LIBJ3DU_A_ofiles
|
||||
@$(LD) -xm l $(LIBJ3DU_A_LDFLAGS) -o $(BUILD_DIR)/libJ3DU.a @build/LIBJ3DU_A_ofiles
|
||||
|
||||
$(BUILD_DIR)/libs/JSystem/J3DU/%.o: libs/JSystem/J3DU/%.cpp
|
||||
$(BUILD_DIR)/libs/JSystem/J3DU/%.o: libs/JSystem/J3DU/%.cpp $(BUILD_DIR)/libs/JSystem/J3DU/%.d
|
||||
@mkdir -p $(@D)
|
||||
@echo building... $<
|
||||
@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp
|
||||
@$(CC) $(CFLAGS) $(LIBJ3DU_A_CFLAGS) -c -o $@ $(basename $@).cpp
|
||||
@$(CC) $(CFLAGS) $(LIBJ3DU_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
|
||||
LIBJ3DU_A_D_FILES := $(LIBJ3DU_A_O_FILES:.o=.d)
|
||||
$(LIBJ3DU_A_D_FILES):
|
||||
include $(wildcard $(LIBJ3DU_A_D_FILES))
|
||||
endif
|
||||
|
||||
|
||||
@@ -155,9 +155,16 @@ $(BUILD_DIR)/libJAudio2.a: $(LIBJAUDIO2_A_O_FILES)
|
||||
@echo $(LIBJAUDIO2_A_O_FILES) > build/LIBJAUDIO2_A_ofiles
|
||||
@$(LD) -xm l $(LIBJAUDIO2_A_LDFLAGS) -o $(BUILD_DIR)/libJAudio2.a @build/LIBJAUDIO2_A_ofiles
|
||||
|
||||
$(BUILD_DIR)/libs/JSystem/JAudio2/%.o: libs/JSystem/JAudio2/%.cpp
|
||||
$(BUILD_DIR)/libs/JSystem/JAudio2/%.o: libs/JSystem/JAudio2/%.cpp $(BUILD_DIR)/libs/JSystem/JAudio2/%.d
|
||||
@mkdir -p $(@D)
|
||||
@echo building... $<
|
||||
@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp
|
||||
@$(CC) $(CFLAGS) $(LIBJAUDIO2_A_CFLAGS) -c -o $@ $(basename $@).cpp
|
||||
@$(CC) $(CFLAGS) $(LIBJAUDIO2_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
|
||||
LIBJAUDIO2_A_D_FILES := $(LIBJAUDIO2_A_O_FILES:.o=.d)
|
||||
$(LIBJAUDIO2_A_D_FILES):
|
||||
include $(wildcard $(LIBJAUDIO2_A_D_FILES))
|
||||
endif
|
||||
|
||||
|
||||
@@ -23,9 +23,16 @@ $(BUILD_DIR)/libJFramework.a: $(LIBJFRAMEWORK_A_O_FILES)
|
||||
@echo $(LIBJFRAMEWORK_A_O_FILES) > build/LIBJFRAMEWORK_A_ofiles
|
||||
@$(LD) -xm l $(LIBJFRAMEWORK_A_LDFLAGS) -o $(BUILD_DIR)/libJFramework.a @build/LIBJFRAMEWORK_A_ofiles
|
||||
|
||||
$(BUILD_DIR)/libs/JSystem/JFramework/%.o: libs/JSystem/JFramework/%.cpp
|
||||
$(BUILD_DIR)/libs/JSystem/JFramework/%.o: libs/JSystem/JFramework/%.cpp $(BUILD_DIR)/libs/JSystem/JFramework/%.d
|
||||
@mkdir -p $(@D)
|
||||
@echo building... $<
|
||||
@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp
|
||||
@$(CC) $(CFLAGS) $(LIBJFRAMEWORK_A_CFLAGS) -c -o $@ $(basename $@).cpp
|
||||
@$(CC) $(CFLAGS) $(LIBJFRAMEWORK_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
|
||||
LIBJFRAMEWORK_A_D_FILES := $(LIBJFRAMEWORK_A_O_FILES:.o=.d)
|
||||
$(LIBJFRAMEWORK_A_D_FILES):
|
||||
include $(wildcard $(LIBJFRAMEWORK_A_D_FILES))
|
||||
endif
|
||||
|
||||
|
||||
@@ -25,9 +25,16 @@ $(BUILD_DIR)/libJGadget.a: $(LIBJGADGET_A_O_FILES)
|
||||
@echo $(LIBJGADGET_A_O_FILES) > build/LIBJGADGET_A_ofiles
|
||||
@$(LD) -xm l $(LIBJGADGET_A_LDFLAGS) -o $(BUILD_DIR)/libJGadget.a @build/LIBJGADGET_A_ofiles
|
||||
|
||||
$(BUILD_DIR)/libs/JSystem/JGadget/%.o: libs/JSystem/JGadget/%.cpp
|
||||
$(BUILD_DIR)/libs/JSystem/JGadget/%.o: libs/JSystem/JGadget/%.cpp $(BUILD_DIR)/libs/JSystem/JGadget/%.d
|
||||
@mkdir -p $(@D)
|
||||
@echo building... $<
|
||||
@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp
|
||||
@$(CC) $(CFLAGS) $(LIBJGADGET_A_CFLAGS) -c -o $@ $(basename $@).cpp
|
||||
@$(CC) $(CFLAGS) $(LIBJGADGET_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
|
||||
LIBJGADGET_A_D_FILES := $(LIBJGADGET_A_O_FILES:.o=.d)
|
||||
$(LIBJGADGET_A_D_FILES):
|
||||
include $(wildcard $(LIBJGADGET_A_D_FILES))
|
||||
endif
|
||||
|
||||
|
||||
@@ -69,9 +69,16 @@ $(BUILD_DIR)/libJKernel.a: $(LIBJKERNEL_A_O_FILES)
|
||||
@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
|
||||
$(BUILD_DIR)/libs/JSystem/JKernel/%.o: libs/JSystem/JKernel/%.cpp $(BUILD_DIR)/libs/JSystem/JKernel/%.d
|
||||
@mkdir -p $(@D)
|
||||
@echo building... $<
|
||||
@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp
|
||||
@$(CC) $(CFLAGS) $(LIBJKERNEL_A_CFLAGS) -c -o $@ $(basename $@).cpp
|
||||
@$(CC) $(CFLAGS) $(LIBJKERNEL_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
|
||||
LIBJKERNEL_A_D_FILES := $(LIBJKERNEL_A_O_FILES:.o=.d)
|
||||
$(LIBJKERNEL_A_D_FILES):
|
||||
include $(wildcard $(LIBJKERNEL_A_D_FILES))
|
||||
endif
|
||||
|
||||
|
||||
@@ -25,9 +25,16 @@ $(BUILD_DIR)/libJMath.a: $(LIBJMATH_A_O_FILES)
|
||||
@echo $(LIBJMATH_A_O_FILES) > build/LIBJMATH_A_ofiles
|
||||
@$(LD) -xm l $(LIBJMATH_A_LDFLAGS) -o $(BUILD_DIR)/libJMath.a @build/LIBJMATH_A_ofiles
|
||||
|
||||
$(BUILD_DIR)/libs/JSystem/JMath/%.o: libs/JSystem/JMath/%.cpp
|
||||
$(BUILD_DIR)/libs/JSystem/JMath/%.o: libs/JSystem/JMath/%.cpp $(BUILD_DIR)/libs/JSystem/JMath/%.d
|
||||
@mkdir -p $(@D)
|
||||
@echo building... $<
|
||||
@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp
|
||||
@$(CC) $(CFLAGS) $(LIBJMATH_A_CFLAGS) -c -o $@ $(basename $@).cpp
|
||||
@$(CC) $(CFLAGS) $(LIBJMATH_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
|
||||
LIBJMATH_A_D_FILES := $(LIBJMATH_A_O_FILES:.o=.d)
|
||||
$(LIBJMATH_A_D_FILES):
|
||||
include $(wildcard $(LIBJMATH_A_D_FILES))
|
||||
endif
|
||||
|
||||
|
||||
@@ -29,9 +29,16 @@ $(BUILD_DIR)/libJMessage.a: $(LIBJMESSAGE_A_O_FILES)
|
||||
@echo $(LIBJMESSAGE_A_O_FILES) > build/LIBJMESSAGE_A_ofiles
|
||||
@$(LD) -xm l $(LIBJMESSAGE_A_LDFLAGS) -o $(BUILD_DIR)/libJMessage.a @build/LIBJMESSAGE_A_ofiles
|
||||
|
||||
$(BUILD_DIR)/libs/JSystem/JMessage/%.o: libs/JSystem/JMessage/%.cpp
|
||||
$(BUILD_DIR)/libs/JSystem/JMessage/%.o: libs/JSystem/JMessage/%.cpp $(BUILD_DIR)/libs/JSystem/JMessage/%.d
|
||||
@mkdir -p $(@D)
|
||||
@echo building... $<
|
||||
@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp
|
||||
@$(CC) $(CFLAGS) $(LIBJMESSAGE_A_CFLAGS) -c -o $@ $(basename $@).cpp
|
||||
@$(CC) $(CFLAGS) $(LIBJMESSAGE_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
|
||||
LIBJMESSAGE_A_D_FILES := $(LIBJMESSAGE_A_O_FILES:.o=.d)
|
||||
$(LIBJMESSAGE_A_D_FILES):
|
||||
include $(wildcard $(LIBJMESSAGE_A_D_FILES))
|
||||
endif
|
||||
|
||||
|
||||
@@ -49,9 +49,16 @@ $(BUILD_DIR)/libJParticle.a: $(LIBJPARTICLE_A_O_FILES)
|
||||
@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/%.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) -c -o $@ $(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
|
||||
|
||||
|
||||
@@ -33,9 +33,16 @@ $(BUILD_DIR)/libJStage.a: $(LIBJSTAGE_A_O_FILES)
|
||||
@echo $(LIBJSTAGE_A_O_FILES) > build/LIBJSTAGE_A_ofiles
|
||||
@$(LD) -xm l $(LIBJSTAGE_A_LDFLAGS) -o $(BUILD_DIR)/libJStage.a @build/LIBJSTAGE_A_ofiles
|
||||
|
||||
$(BUILD_DIR)/libs/JSystem/JStage/%.o: libs/JSystem/JStage/%.cpp
|
||||
$(BUILD_DIR)/libs/JSystem/JStage/%.o: libs/JSystem/JStage/%.cpp $(BUILD_DIR)/libs/JSystem/JStage/%.d
|
||||
@mkdir -p $(@D)
|
||||
@echo building... $<
|
||||
@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp
|
||||
@$(CC) $(CFLAGS) $(LIBJSTAGE_A_CFLAGS) -c -o $@ $(basename $@).cpp
|
||||
@$(CC) $(CFLAGS) $(LIBJSTAGE_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
|
||||
LIBJSTAGE_A_D_FILES := $(LIBJSTAGE_A_O_FILES:.o=.d)
|
||||
$(LIBJSTAGE_A_D_FILES):
|
||||
include $(wildcard $(LIBJSTAGE_A_D_FILES))
|
||||
endif
|
||||
|
||||
|
||||
@@ -51,9 +51,16 @@ $(BUILD_DIR)/libJStudio.a: $(LIBJSTUDIO_A_O_FILES)
|
||||
@echo $(LIBJSTUDIO_A_O_FILES) > build/LIBJSTUDIO_A_ofiles
|
||||
@$(LD) -xm l $(LIBJSTUDIO_A_LDFLAGS) -o $(BUILD_DIR)/libJStudio.a @build/LIBJSTUDIO_A_ofiles
|
||||
|
||||
$(BUILD_DIR)/libs/JSystem/JStudio/JStudio/%.o: libs/JSystem/JStudio/JStudio/%.cpp
|
||||
$(BUILD_DIR)/libs/JSystem/JStudio/JStudio/%.o: libs/JSystem/JStudio/JStudio/%.cpp $(BUILD_DIR)/libs/JSystem/JStudio/JStudio/%.d
|
||||
@mkdir -p $(@D)
|
||||
@echo building... $<
|
||||
@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp
|
||||
@$(CC) $(CFLAGS) $(LIBJSTUDIO_A_CFLAGS) -c -o $@ $(basename $@).cpp
|
||||
@$(CC) $(CFLAGS) $(LIBJSTUDIO_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
|
||||
LIBJSTUDIO_A_D_FILES := $(LIBJSTUDIO_A_O_FILES:.o=.d)
|
||||
$(LIBJSTUDIO_A_D_FILES):
|
||||
include $(wildcard $(LIBJSTUDIO_A_D_FILES))
|
||||
endif
|
||||
|
||||
|
||||
@@ -23,9 +23,16 @@ $(BUILD_DIR)/libJStudio_JAudio2.a: $(LIBJSTUDIO_JAUDIO2_A_O_FILES)
|
||||
@echo $(LIBJSTUDIO_JAUDIO2_A_O_FILES) > build/LIBJSTUDIO_JAUDIO2_A_ofiles
|
||||
@$(LD) -xm l $(LIBJSTUDIO_JAUDIO2_A_LDFLAGS) -o $(BUILD_DIR)/libJStudio_JAudio2.a @build/LIBJSTUDIO_JAUDIO2_A_ofiles
|
||||
|
||||
$(BUILD_DIR)/libs/JSystem/JStudio/JStudio_JAudio2/%.o: libs/JSystem/JStudio/JStudio_JAudio2/%.cpp
|
||||
$(BUILD_DIR)/libs/JSystem/JStudio/JStudio_JAudio2/%.o: libs/JSystem/JStudio/JStudio_JAudio2/%.cpp $(BUILD_DIR)/libs/JSystem/JStudio/JStudio_JAudio2/%.d
|
||||
@mkdir -p $(@D)
|
||||
@echo building... $<
|
||||
@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp
|
||||
@$(CC) $(CFLAGS) $(LIBJSTUDIO_JAUDIO2_A_CFLAGS) -c -o $@ $(basename $@).cpp
|
||||
@$(CC) $(CFLAGS) $(LIBJSTUDIO_JAUDIO2_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
|
||||
LIBJSTUDIO_JAUDIO2_A_D_FILES := $(LIBJSTUDIO_JAUDIO2_A_O_FILES:.o=.d)
|
||||
$(LIBJSTUDIO_JAUDIO2_A_D_FILES):
|
||||
include $(wildcard $(LIBJSTUDIO_JAUDIO2_A_D_FILES))
|
||||
endif
|
||||
|
||||
|
||||
@@ -23,9 +23,16 @@ $(BUILD_DIR)/libJStudio_JParticle.a: $(LIBJSTUDIO_JPARTICLE_A_O_FILES)
|
||||
@echo $(LIBJSTUDIO_JPARTICLE_A_O_FILES) > build/LIBJSTUDIO_JPARTICLE_A_ofiles
|
||||
@$(LD) -xm l $(LIBJSTUDIO_JPARTICLE_A_LDFLAGS) -o $(BUILD_DIR)/libJStudio_JParticle.a @build/LIBJSTUDIO_JPARTICLE_A_ofiles
|
||||
|
||||
$(BUILD_DIR)/libs/JSystem/JStudio/JStudio_JParticle/%.o: libs/JSystem/JStudio/JStudio_JParticle/%.cpp
|
||||
$(BUILD_DIR)/libs/JSystem/JStudio/JStudio_JParticle/%.o: libs/JSystem/JStudio/JStudio_JParticle/%.cpp $(BUILD_DIR)/libs/JSystem/JStudio/JStudio_JParticle/%.d
|
||||
@mkdir -p $(@D)
|
||||
@echo building... $<
|
||||
@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp
|
||||
@$(CC) $(CFLAGS) $(LIBJSTUDIO_JPARTICLE_A_CFLAGS) -c -o $@ $(basename $@).cpp
|
||||
@$(CC) $(CFLAGS) $(LIBJSTUDIO_JPARTICLE_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
|
||||
LIBJSTUDIO_JPARTICLE_A_D_FILES := $(LIBJSTUDIO_JPARTICLE_A_O_FILES:.o=.d)
|
||||
$(LIBJSTUDIO_JPARTICLE_A_D_FILES):
|
||||
include $(wildcard $(LIBJSTUDIO_JPARTICLE_A_D_FILES))
|
||||
endif
|
||||
|
||||
|
||||
@@ -33,9 +33,16 @@ $(BUILD_DIR)/libJStudio_JStage.a: $(LIBJSTUDIO_JSTAGE_A_O_FILES)
|
||||
@echo $(LIBJSTUDIO_JSTAGE_A_O_FILES) > build/LIBJSTUDIO_JSTAGE_A_ofiles
|
||||
@$(LD) -xm l $(LIBJSTUDIO_JSTAGE_A_LDFLAGS) -o $(BUILD_DIR)/libJStudio_JStage.a @build/LIBJSTUDIO_JSTAGE_A_ofiles
|
||||
|
||||
$(BUILD_DIR)/libs/JSystem/JStudio/JStudio_JStage/%.o: libs/JSystem/JStudio/JStudio_JStage/%.cpp
|
||||
$(BUILD_DIR)/libs/JSystem/JStudio/JStudio_JStage/%.o: libs/JSystem/JStudio/JStudio_JStage/%.cpp $(BUILD_DIR)/libs/JSystem/JStudio/JStudio_JStage/%.d
|
||||
@mkdir -p $(@D)
|
||||
@echo building... $<
|
||||
@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp
|
||||
@$(CC) $(CFLAGS) $(LIBJSTUDIO_JSTAGE_A_CFLAGS) -c -o $@ $(basename $@).cpp
|
||||
@$(CC) $(CFLAGS) $(LIBJSTUDIO_JSTAGE_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
|
||||
LIBJSTUDIO_JSTAGE_A_D_FILES := $(LIBJSTUDIO_JSTAGE_A_O_FILES:.o=.d)
|
||||
$(LIBJSTUDIO_JSTAGE_A_D_FILES):
|
||||
include $(wildcard $(LIBJSTUDIO_JSTAGE_A_D_FILES))
|
||||
endif
|
||||
|
||||
|
||||
@@ -27,9 +27,16 @@ $(BUILD_DIR)/libJSupport.a: $(LIBJSUPPORT_A_O_FILES)
|
||||
@echo $(LIBJSUPPORT_A_O_FILES) > build/LIBJSUPPORT_A_ofiles
|
||||
@$(LD) -xm l $(LIBJSUPPORT_A_LDFLAGS) -o $(BUILD_DIR)/libJSupport.a @build/LIBJSUPPORT_A_ofiles
|
||||
|
||||
$(BUILD_DIR)/libs/JSystem/JSupport/%.o: libs/JSystem/JSupport/%.cpp
|
||||
$(BUILD_DIR)/libs/JSystem/JSupport/%.o: libs/JSystem/JSupport/%.cpp $(BUILD_DIR)/libs/JSystem/JSupport/%.d
|
||||
@mkdir -p $(@D)
|
||||
@echo building... $<
|
||||
@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp
|
||||
@$(CC) $(CFLAGS) $(LIBJSUPPORT_A_CFLAGS) -c -o $@ $(basename $@).cpp
|
||||
@$(CC) $(CFLAGS) $(LIBJSUPPORT_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
|
||||
LIBJSUPPORT_A_D_FILES := $(LIBJSUPPORT_A_O_FILES:.o=.d)
|
||||
$(LIBJSUPPORT_A_D_FILES):
|
||||
include $(wildcard $(LIBJSUPPORT_A_D_FILES))
|
||||
endif
|
||||
|
||||
|
||||
@@ -59,9 +59,16 @@ $(BUILD_DIR)/libJUtility.a: $(LIBJUTILITY_A_O_FILES)
|
||||
@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
|
||||
$(BUILD_DIR)/libs/JSystem/JUtility/%.o: libs/JSystem/JUtility/%.cpp $(BUILD_DIR)/libs/JSystem/JUtility/%.d
|
||||
@mkdir -p $(@D)
|
||||
@echo building... $<
|
||||
@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp
|
||||
@$(CC) $(CFLAGS) $(LIBJUTILITY_A_CFLAGS) -c -o $@ $(basename $@).cpp
|
||||
@$(CC) $(CFLAGS) $(LIBJUTILITY_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
|
||||
LIBJUTILITY_A_D_FILES := $(LIBJUTILITY_A_O_FILES:.o=.d)
|
||||
$(LIBJUTILITY_A_D_FILES):
|
||||
include $(wildcard $(LIBJUTILITY_A_D_FILES))
|
||||
endif
|
||||
|
||||
|
||||
+9
-2
@@ -136,9 +136,16 @@ $(BUILD_DIR)/libMSL_C.a: $(LIBMSL_C_PPCEABI_BARE_H_A_O_FILES)
|
||||
@echo $(LIBMSL_C_PPCEABI_BARE_H_A_O_FILES) > build/LIBMSL_C_PPCEABI_BARE_H_A_ofiles
|
||||
@$(LD) -xm l $(LIBMSL_C_PPCEABI_BARE_H_A_LDFLAGS) -o $(BUILD_DIR)/libMSL_C.a @build/LIBMSL_C_PPCEABI_BARE_H_A_ofiles
|
||||
|
||||
$(BUILD_DIR)/libs/MSL_C/%.o: libs/MSL_C/%.c
|
||||
$(BUILD_DIR)/libs/MSL_C/%.o: libs/MSL_C/%.c $(BUILD_DIR)/libs/MSL_C/%.d
|
||||
@mkdir -p $(@D)
|
||||
@echo building... $<
|
||||
@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).c
|
||||
@$(CC) $(CFLAGS) $(LIBMSL_C_PPCEABI_BARE_H_A_CFLAGS) -c -o $@ $(basename $@).c
|
||||
@$(CC) $(CFLAGS) $(LIBMSL_C_PPCEABI_BARE_H_A_CFLAGS) $(DEPFLAGS) -c -o $(dir $@) $(basename $@).c
|
||||
@if [ -z '$(DISABLE_DEPS)' ]; then tools/transform-dep.py '$(basename $@).d' '$(basename $@).d'; touch -c $@; fi
|
||||
|
||||
ifndef DISABLE_DEPS
|
||||
LIBMSL_C_PPCEABI_BARE_H_A_D_FILES := $(LIBMSL_C_PPCEABI_BARE_H_A_O_FILES:.o=.d)
|
||||
$(LIBMSL_C_PPCEABI_BARE_H_A_D_FILES):
|
||||
include $(wildcard $(LIBMSL_C_PPCEABI_BARE_H_A_D_FILES))
|
||||
endif
|
||||
|
||||
|
||||
@@ -42,14 +42,23 @@ $(BUILD_DIR)/libRuntime.PPCEABI.H.a: $(LIBRUNTIME_PPCEABI_H_A_O_FILES)
|
||||
@echo $(LIBRUNTIME_PPCEABI_H_A_O_FILES) > build/LIBRUNTIME_PPCEABI_H_A_ofiles
|
||||
@$(LD) -xm l $(LIBRUNTIME_PPCEABI_H_A_LDFLAGS) -o $(BUILD_DIR)/libRuntime.PPCEABI.H.a @build/LIBRUNTIME_PPCEABI_H_A_ofiles
|
||||
|
||||
$(BUILD_DIR)/libs/Runtime.PPCEABI.H/%.o: libs/Runtime.PPCEABI.H/%.cpp
|
||||
$(BUILD_DIR)/libs/Runtime.PPCEABI.H/%.o: libs/Runtime.PPCEABI.H/%.cpp $(BUILD_DIR)/libs/Runtime.PPCEABI.H/%.d
|
||||
@mkdir -p $(@D)
|
||||
@echo building... $<
|
||||
@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp
|
||||
@$(CC) $(CFLAGS) $(LIBRUNTIME_PPCEABI_H_A_CFLAGS) -c -o $@ $(basename $@).cpp
|
||||
@$(CC) $(CFLAGS) $(LIBRUNTIME_PPCEABI_H_A_CFLAGS) $(DEPFLAGS) -c -o $(dir $@) $(basename $@).cpp
|
||||
@if [ -z '$(DISABLE_DEPS)' ]; then tools/transform-dep.py '$(basename $@).d' '$(basename $@).d'; touch -c $@; fi
|
||||
|
||||
$(BUILD_DIR)/libs/Runtime.PPCEABI.H/%.o: libs/Runtime.PPCEABI.H/%.c
|
||||
$(BUILD_DIR)/libs/Runtime.PPCEABI.H/%.o: libs/Runtime.PPCEABI.H/%.c $(BUILD_DIR)/libs/Runtime.PPCEABI.H/%.d
|
||||
@mkdir -p $(@D)
|
||||
@echo building... $<
|
||||
@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).c
|
||||
@$(CC) $(CFLAGS) -c -o $@ $(basename $@).c
|
||||
@$(CC) $(CFLAGS) $(DEPFLAGS) -c -o $(dir $@) $(basename $@).c
|
||||
@if [ -z '$(DISABLE_DEPS)' ]; then tools/transform-dep.py '$(basename $@).d' '$(basename $@).d'; touch -c $@; fi
|
||||
|
||||
ifndef DISABLE_DEPS
|
||||
LIBRUNTIME_PPCEABI_H_A_D_FILES := $(LIBRUNTIME_PPCEABI_H_A_O_FILES:.o=.d)
|
||||
$(LIBRUNTIME_PPCEABI_H_A_D_FILES):
|
||||
include $(wildcard $(LIBRUNTIME_PPCEABI_H_A_D_FILES))
|
||||
endif
|
||||
|
||||
|
||||
@@ -95,9 +95,16 @@ $(BUILD_DIR)/libSComponent.a: $(LIBSCOMPONENT_A_O_FILES)
|
||||
@echo $(LIBSCOMPONENT_A_O_FILES) > build/LIBSCOMPONENT_A_ofiles
|
||||
@$(LD) -xm l $(LIBSCOMPONENT_A_LDFLAGS) -o $(BUILD_DIR)/libSComponent.a @build/LIBSCOMPONENT_A_ofiles
|
||||
|
||||
$(BUILD_DIR)/libs/SSystem/SComponent/%.o: libs/SSystem/SComponent/%.cpp
|
||||
$(BUILD_DIR)/libs/SSystem/SComponent/%.o: libs/SSystem/SComponent/%.cpp $(BUILD_DIR)/libs/SSystem/SComponent/%.d
|
||||
@mkdir -p $(@D)
|
||||
@echo building... $<
|
||||
@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp
|
||||
@$(CC) $(CFLAGS) $(LIBSCOMPONENT_A_CFLAGS) -c -o $@ $(basename $@).cpp
|
||||
@$(CC) $(CFLAGS) $(LIBSCOMPONENT_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
|
||||
LIBSCOMPONENT_A_D_FILES := $(LIBSCOMPONENT_A_O_FILES:.o=.d)
|
||||
$(LIBSCOMPONENT_A_D_FILES):
|
||||
include $(wildcard $(LIBSCOMPONENT_A_D_FILES))
|
||||
endif
|
||||
|
||||
|
||||
@@ -21,9 +21,16 @@ $(BUILD_DIR)/libSStandard.a: $(LIBSSTANDARD_A_O_FILES)
|
||||
@echo $(LIBSSTANDARD_A_O_FILES) > build/LIBSSTANDARD_A_ofiles
|
||||
@$(LD) -xm l $(LIBSSTANDARD_A_LDFLAGS) -o $(BUILD_DIR)/libSStandard.a @build/LIBSSTANDARD_A_ofiles
|
||||
|
||||
$(BUILD_DIR)/libs/SSystem/SStandard/%.o: libs/SSystem/SStandard/%.cpp
|
||||
$(BUILD_DIR)/libs/SSystem/SStandard/%.o: libs/SSystem/SStandard/%.cpp $(BUILD_DIR)/libs/SSystem/SStandard/%.d
|
||||
@mkdir -p $(@D)
|
||||
@echo building... $<
|
||||
@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp
|
||||
@$(CC) $(CFLAGS) $(LIBSSTANDARD_A_CFLAGS) -c -o $@ $(basename $@).cpp
|
||||
@$(CC) $(CFLAGS) $(LIBSSTANDARD_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
|
||||
LIBSSTANDARD_A_D_FILES := $(LIBSSTANDARD_A_O_FILES:.o=.d)
|
||||
$(LIBSSTANDARD_A_D_FILES):
|
||||
include $(wildcard $(LIBSSTANDARD_A_D_FILES))
|
||||
endif
|
||||
|
||||
|
||||
@@ -82,8 +82,16 @@ $(BUILD_DIR)/libTRK_MINNOW_DOLPHIN.a: $(LIBTRK_MINNOW_DOLPHIN_A_O_FILES)
|
||||
@echo $(LIBTRK_MINNOW_DOLPHIN_A_O_FILES) > build/LIBTRK_MINNOW_DOLPHIN_A_ofiles
|
||||
@$(LD) -xm l $(LIBTRK_MINNOW_DOLPHIN_A_LDFLAGS) -o $(BUILD_DIR)/libTRK_MINNOW_DOLPHIN.a @build/LIBTRK_MINNOW_DOLPHIN_A_ofiles
|
||||
|
||||
$(BUILD_DIR)/libs/TRK_MINNOW_DOLPHIN/%.o: libs/TRK_MINNOW_DOLPHIN/%.c
|
||||
$(BUILD_DIR)/libs/TRK_MINNOW_DOLPHIN/%.o: libs/TRK_MINNOW_DOLPHIN/%.c $(BUILD_DIR)/libs/TRK_MINNOW_DOLPHIN/%.d
|
||||
@mkdir -p $(@D)
|
||||
@echo building... $<
|
||||
@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).c
|
||||
@$(CC) $(CFLAGS) $(LIBTRK_MINNOW_DOLPHIN_A_CFLAGS) -c -o $@ $(basename $@).c
|
||||
@$(CC) $(CFLAGS) $(LIBTRK_MINNOW_DOLPHIN_A_CFLAGS) $(DEPFLAGS) -c -o $(dir $@) $(basename $@).c
|
||||
@if [ -z '$(DISABLE_DEPS)' ]; then tools/transform-dep.py '$(basename $@).d' '$(basename $@).d'; touch -c $@; fi
|
||||
|
||||
ifndef DISABLE_DEPS
|
||||
LIBTRK_MINNOW_DOLPHIN_A_D_FILES := $(LIBTRK_MINNOW_DOLPHIN_A_O_FILES:.o=.d)
|
||||
$(LIBTRK_MINNOW_DOLPHIN_A_D_FILES):
|
||||
include $(wildcard $(LIBTRK_MINNOW_DOLPHIN_A_D_FILES))
|
||||
endif
|
||||
|
||||
|
||||
@@ -61,9 +61,16 @@ $(BUILD_DIR)/libZ2AudioLib.a: $(LIBZ2AUDIOLIB_A_O_FILES)
|
||||
@echo $(LIBZ2AUDIOLIB_A_O_FILES) > build/LIBZ2AUDIOLIB_A_ofiles
|
||||
@$(LD) -xm l $(LIBZ2AUDIOLIB_A_LDFLAGS) -o $(BUILD_DIR)/libZ2AudioLib.a @build/LIBZ2AUDIOLIB_A_ofiles
|
||||
|
||||
$(BUILD_DIR)/libs/Z2AudioLib/%.o: libs/Z2AudioLib/%.cpp
|
||||
$(BUILD_DIR)/libs/Z2AudioLib/%.o: libs/Z2AudioLib/%.cpp $(BUILD_DIR)/libs/Z2AudioLib/%.d
|
||||
@mkdir -p $(@D)
|
||||
@echo building... $<
|
||||
@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp
|
||||
@$(CC) $(CFLAGS) $(LIBZ2AUDIOLIB_A_CFLAGS) -c -o $@ $(basename $@).cpp
|
||||
@$(CC) $(CFLAGS) $(LIBZ2AUDIOLIB_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
|
||||
LIBZ2AUDIOLIB_A_D_FILES := $(LIBZ2AUDIOLIB_A_O_FILES:.o=.d)
|
||||
$(LIBZ2AUDIOLIB_A_D_FILES):
|
||||
include $(wildcard $(LIBZ2AUDIOLIB_A_D_FILES))
|
||||
endif
|
||||
|
||||
|
||||
@@ -23,9 +23,16 @@ $(BUILD_DIR)/libamcstubs.a: $(LIBAMCSTUBS_A_O_FILES)
|
||||
@echo $(LIBAMCSTUBS_A_O_FILES) > build/LIBAMCSTUBS_A_ofiles
|
||||
@$(LD) -xm l $(LIBAMCSTUBS_A_LDFLAGS) -o $(BUILD_DIR)/libamcstubs.a @build/LIBAMCSTUBS_A_ofiles
|
||||
|
||||
$(BUILD_DIR)/libs/amcstubs/%.o: libs/amcstubs/%.c
|
||||
$(BUILD_DIR)/libs/amcstubs/%.o: libs/amcstubs/%.c $(BUILD_DIR)/libs/amcstubs/%.d
|
||||
@mkdir -p $(@D)
|
||||
@echo building... $<
|
||||
@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).c
|
||||
@$(CC) $(CFLAGS) $(LIBAMCSTUBS_A_CFLAGS) -c -o $@ $(basename $@).c
|
||||
@$(CC) $(CFLAGS) $(LIBAMCSTUBS_A_CFLAGS) $(DEPFLAGS) -c -o $(dir $@) $(basename $@).c
|
||||
@if [ -z '$(DISABLE_DEPS)' ]; then tools/transform-dep.py '$(basename $@).d' '$(basename $@).d'; touch -c $@; fi
|
||||
|
||||
ifndef DISABLE_DEPS
|
||||
LIBAMCSTUBS_A_D_FILES := $(LIBAMCSTUBS_A_O_FILES:.o=.d)
|
||||
$(LIBAMCSTUBS_A_D_FILES):
|
||||
include $(wildcard $(LIBAMCSTUBS_A_D_FILES))
|
||||
endif
|
||||
|
||||
|
||||
@@ -31,10 +31,18 @@ $(BUILD_DIR)/libai.a: $(LIBAI_A_O_FILES)
|
||||
@echo $(LIBAI_A_O_FILES) > build/LIBAI_A_ofiles
|
||||
@$(LD) -xm l $(LIBAI_A_LDFLAGS) -o $(BUILD_DIR)/libai.a @build/LIBAI_A_ofiles
|
||||
|
||||
$(BUILD_DIR)/libs/dolphin/ai/%.o: libs/dolphin/ai/%.c
|
||||
$(BUILD_DIR)/libs/dolphin/ai/%.o: libs/dolphin/ai/%.c $(BUILD_DIR)/libs/dolphin/ai/%.d
|
||||
@mkdir -p $(@D)
|
||||
@echo building... $<
|
||||
@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).c
|
||||
@$(WINE) tools/mwcc_compiler/1.2.5/mwcceppc.exe $(LIBAI_A_CFLAGS) -c -o $@ $(basename $@).c
|
||||
@$(WINE) tools/mwcc_compiler/1.2.5/mwcceppc.exe $(LIBAI_A_CFLAGS) $(DEPFLAGS) -c -o $(dir $@) $(basename $@).c
|
||||
@if [ -z '$(DISABLE_DEPS)' ]; then tools/transform-dep.py '$(basename $@).d' '$(basename $@).d'; touch -c $@; fi
|
||||
@echo Frank is fixing $@
|
||||
@$(PYTHON) $(FRANK) $@ $@ $@
|
||||
|
||||
ifndef DISABLE_DEPS
|
||||
LIBAI_A_D_FILES := $(LIBAI_A_O_FILES:.o=.d)
|
||||
$(LIBAI_A_D_FILES):
|
||||
include $(wildcard $(LIBAI_A_D_FILES))
|
||||
endif
|
||||
|
||||
|
||||
@@ -33,11 +33,18 @@ $(BUILD_DIR)/libar.a: $(LIBAR_A_O_FILES)
|
||||
@echo $(LIBAR_A_O_FILES) > build/LIBAR_A_ofiles
|
||||
@$(LD) -xm l $(LIBAR_A_LDFLAGS) -o $(BUILD_DIR)/libar.a @build/LIBAR_A_ofiles
|
||||
|
||||
$(BUILD_DIR)/libs/dolphin/ar/%.o: libs/dolphin/ar/%.c
|
||||
$(BUILD_DIR)/libs/dolphin/ar/%.o: libs/dolphin/ar/%.c $(BUILD_DIR)/libs/dolphin/ar/%.d
|
||||
@mkdir -p $(@D)
|
||||
@echo building... $<
|
||||
@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).c
|
||||
@$(WINE) tools/mwcc_compiler/1.2.5/mwcceppc.exe $(LIBAR_A_CFLAGS) -c -o $@ $(basename $@).c
|
||||
@$(WINE) tools/mwcc_compiler/1.2.5/mwcceppc.exe $(LIBAR_A_CFLAGS) $(DEPFLAGS) -c -o $(dir $@) $(basename $@).c
|
||||
@if [ -z '$(DISABLE_DEPS)' ]; then tools/transform-dep.py '$(basename $@).d' '$(basename $@).d'; touch -c $@; fi
|
||||
@echo Frank is fixing $@
|
||||
@$(PYTHON) $(FRANK) $@ $@ $@
|
||||
|
||||
ifndef DISABLE_DEPS
|
||||
LIBAR_A_D_FILES := $(LIBAR_A_O_FILES:.o=.d)
|
||||
$(LIBAR_A_D_FILES):
|
||||
include $(wildcard $(LIBAR_A_D_FILES))
|
||||
endif
|
||||
|
||||
|
||||
@@ -23,11 +23,18 @@ $(BUILD_DIR)/libbase.a: $(LIBBASE_A_O_FILES)
|
||||
@echo $(LIBBASE_A_O_FILES) > build/LIBBASE_A_ofiles
|
||||
@$(LD) -xm l $(LIBBASE_A_LDFLAGS) -o $(BUILD_DIR)/libbase.a @build/LIBBASE_A_ofiles
|
||||
|
||||
$(BUILD_DIR)/libs/dolphin/base/%.o: libs/dolphin/base/%.c
|
||||
$(BUILD_DIR)/libs/dolphin/base/%.o: libs/dolphin/base/%.c $(BUILD_DIR)/libs/dolphin/base/%.d
|
||||
@mkdir -p $(@D)
|
||||
@echo building... $<
|
||||
@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).c
|
||||
@$(WINE) tools/mwcc_compiler/1.2.5/mwcceppc.exe $(CFLAGS) $(LIBBASE_A_CFLAGS) -c -o $@ $(basename $@).c
|
||||
@$(WINE) tools/mwcc_compiler/1.2.5/mwcceppc.exe $(CFLAGS) $(LIBBASE_A_CFLAGS) $(DEPFLAGS) -c -o $(dir $@) $(basename $@).c
|
||||
@if [ -z '$(DISABLE_DEPS)' ]; then tools/transform-dep.py '$(basename $@).d' '$(basename $@).d'; touch -c $@; fi
|
||||
@echo Frank is fixing $@
|
||||
@$(PYTHON) $(FRANK) $@ $@ $@
|
||||
|
||||
ifndef DISABLE_DEPS
|
||||
LIBBASE_A_D_FILES := $(LIBBASE_A_O_FILES:.o=.d)
|
||||
$(LIBBASE_A_D_FILES):
|
||||
include $(wildcard $(LIBBASE_A_D_FILES))
|
||||
endif
|
||||
|
||||
|
||||
@@ -57,11 +57,18 @@ $(BUILD_DIR)/libcard.a: $(LIBCARD_A_O_FILES)
|
||||
@echo $(LIBCARD_A_O_FILES) > build/LIBCARD_A_ofiles
|
||||
@$(LD) -xm l $(LIBCARD_A_LDFLAGS) -o $(BUILD_DIR)/libcard.a @build/LIBCARD_A_ofiles
|
||||
|
||||
$(BUILD_DIR)/libs/dolphin/card/%.o: libs/dolphin/card/%.c
|
||||
$(BUILD_DIR)/libs/dolphin/card/%.o: libs/dolphin/card/%.c $(BUILD_DIR)/libs/dolphin/card/%.d
|
||||
@mkdir -p $(@D)
|
||||
@echo building... $<
|
||||
@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).c
|
||||
@$(WINE) tools/mwcc_compiler/1.2.5/mwcceppc.exe $(LIBCARD_A_CFLAGS) -c -o $@ $(basename $@).c
|
||||
@$(WINE) tools/mwcc_compiler/1.2.5/mwcceppc.exe $(LIBCARD_A_CFLAGS) $(DEPFLAGS) -c -o $(dir $@) $(basename $@).c
|
||||
@if [ -z '$(DISABLE_DEPS)' ]; then tools/transform-dep.py '$(basename $@).d' '$(basename $@).d'; touch -c $@; fi
|
||||
@echo Frank is fixing $@
|
||||
@$(PYTHON) $(FRANK) $@ $@ $@
|
||||
|
||||
ifndef DISABLE_DEPS
|
||||
LIBCARD_A_D_FILES := $(LIBCARD_A_O_FILES:.o=.d)
|
||||
$(LIBCARD_A_D_FILES):
|
||||
include $(wildcard $(LIBCARD_A_D_FILES))
|
||||
endif
|
||||
|
||||
|
||||
@@ -31,11 +31,18 @@ $(BUILD_DIR)/libdb.a: $(LIBDB_A_O_FILES)
|
||||
@echo $(LIBDB_A_O_FILES) > build/LIBDB_A_ofiles
|
||||
@$(LD) -xm l $(LIBDB_A_LDFLAGS) -o $(BUILD_DIR)/libdb.a @build/LIBDB_A_ofiles
|
||||
|
||||
$(BUILD_DIR)/libs/dolphin/db/%.o: libs/dolphin/db/%.c
|
||||
$(BUILD_DIR)/libs/dolphin/db/%.o: libs/dolphin/db/%.c $(BUILD_DIR)/libs/dolphin/db/%.d
|
||||
@mkdir -p $(@D)
|
||||
@echo building... $<
|
||||
@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).c
|
||||
@$(WINE) tools/mwcc_compiler/1.2.5/mwcceppc.exe $(LIBDB_A_CFLAGS) -c -o $@ $(basename $@).c
|
||||
@$(WINE) tools/mwcc_compiler/1.2.5/mwcceppc.exe $(LIBDB_A_CFLAGS) $(DEPFLAGS) -c -o $(dir $@) $(basename $@).c
|
||||
@if [ -z '$(DISABLE_DEPS)' ]; then tools/transform-dep.py '$(basename $@).d' '$(basename $@).d'; touch -c $@; fi
|
||||
@echo Frank is fixing $@
|
||||
@$(PYTHON) $(FRANK) $@ $@ $@
|
||||
|
||||
ifndef DISABLE_DEPS
|
||||
LIBDB_A_D_FILES := $(LIBDB_A_O_FILES:.o=.d)
|
||||
$(LIBDB_A_D_FILES):
|
||||
include $(wildcard $(LIBDB_A_D_FILES))
|
||||
endif
|
||||
|
||||
|
||||
@@ -35,11 +35,18 @@ $(BUILD_DIR)/libdsp.a: $(LIBDSP_A_O_FILES)
|
||||
@echo $(LIBDSP_A_O_FILES) > build/LIBDSP_A_ofiles
|
||||
@$(LD) -xm l $(LIBDSP_A_LDFLAGS) -o $(BUILD_DIR)/libdsp.a @build/LIBDSP_A_ofiles
|
||||
|
||||
$(BUILD_DIR)/libs/dolphin/dsp/%.o: libs/dolphin/dsp/%.c
|
||||
$(BUILD_DIR)/libs/dolphin/dsp/%.o: libs/dolphin/dsp/%.c $(BUILD_DIR)/libs/dolphin/dsp/%.d
|
||||
@mkdir -p $(@D)
|
||||
@echo building... $<
|
||||
@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).c
|
||||
@$(WINE) tools/mwcc_compiler/1.2.5/mwcceppc.exe $(LIBDSP_A_CFLAGS) -c -o $@ $(basename $@).c
|
||||
@$(WINE) tools/mwcc_compiler/1.2.5/mwcceppc.exe $(LIBDSP_A_CFLAGS) $(DEPFLAGS) -c -o $(dir $@) $(basename $@).c
|
||||
@if [ -z '$(DISABLE_DEPS)' ]; then tools/transform-dep.py '$(basename $@).d' '$(basename $@).d'; touch -c $@; fi
|
||||
@echo Frank is fixing $@
|
||||
@$(PYTHON) $(FRANK) $@ $@ $@
|
||||
|
||||
ifndef DISABLE_DEPS
|
||||
LIBDSP_A_D_FILES := $(LIBDSP_A_O_FILES:.o=.d)
|
||||
$(LIBDSP_A_D_FILES):
|
||||
include $(wildcard $(LIBDSP_A_D_FILES))
|
||||
endif
|
||||
|
||||
|
||||
@@ -45,11 +45,18 @@ $(BUILD_DIR)/libdvd.a: $(LIBDVD_A_O_FILES)
|
||||
@echo $(LIBDVD_A_O_FILES) > build/LIBDVD_A_ofiles
|
||||
@$(LD) -xm l $(LIBDVD_A_LDFLAGS) -o $(BUILD_DIR)/libdvd.a @build/LIBDVD_A_ofiles
|
||||
|
||||
$(BUILD_DIR)/libs/dolphin/dvd/%.o: libs/dolphin/dvd/%.c
|
||||
$(BUILD_DIR)/libs/dolphin/dvd/%.o: libs/dolphin/dvd/%.c $(BUILD_DIR)/libs/dolphin/dvd/%.d
|
||||
@mkdir -p $(@D)
|
||||
@echo building... $<
|
||||
@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).c
|
||||
@$(WINE) tools/mwcc_compiler/1.2.5/mwcceppc.exe $(LIBDVD_A_CFLAGS) -c -o $@ $(basename $@).c
|
||||
@$(WINE) tools/mwcc_compiler/1.2.5/mwcceppc.exe $(LIBDVD_A_CFLAGS) $(DEPFLAGS) -c -o $(dir $@) $(basename $@).c
|
||||
@if [ -z '$(DISABLE_DEPS)' ]; then tools/transform-dep.py '$(basename $@).d' '$(basename $@).d'; touch -c $@; fi
|
||||
@echo Frank is fixing $@
|
||||
@$(PYTHON) $(FRANK) $@ $@ $@
|
||||
|
||||
ifndef DISABLE_DEPS
|
||||
LIBDVD_A_D_FILES := $(LIBDVD_A_O_FILES:.o=.d)
|
||||
$(LIBDVD_A_D_FILES):
|
||||
include $(wildcard $(LIBDVD_A_D_FILES))
|
||||
endif
|
||||
|
||||
|
||||
@@ -33,11 +33,18 @@ $(BUILD_DIR)/libexi.a: $(LIBEXI_A_O_FILES)
|
||||
@echo $(LIBEXI_A_O_FILES) > build/LIBEXI_A_ofiles
|
||||
@$(LD) -xm l $(LIBEXI_A_LDFLAGS) -o $(BUILD_DIR)/libexi.a @build/LIBEXI_A_ofiles
|
||||
|
||||
$(BUILD_DIR)/libs/dolphin/exi/%.o: libs/dolphin/exi/%.c
|
||||
$(BUILD_DIR)/libs/dolphin/exi/%.o: libs/dolphin/exi/%.c $(BUILD_DIR)/libs/dolphin/exi/%.d
|
||||
@mkdir -p $(@D)
|
||||
@echo building... $<
|
||||
@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).c
|
||||
@$(WINE) tools/mwcc_compiler/1.2.5/mwcceppc.exe $(LIBEXI_A_CFLAGS) -c -o $@ $(basename $@).c
|
||||
@$(WINE) tools/mwcc_compiler/1.2.5/mwcceppc.exe $(LIBEXI_A_CFLAGS) $(DEPFLAGS) -c -o $(dir $@) $(basename $@).c
|
||||
@if [ -z '$(DISABLE_DEPS)' ]; then tools/transform-dep.py '$(basename $@).d' '$(basename $@).d'; touch -c $@; fi
|
||||
@echo Frank is fixing $@
|
||||
@$(PYTHON) $(FRANK) $@ $@ $@
|
||||
|
||||
ifndef DISABLE_DEPS
|
||||
LIBEXI_A_D_FILES := $(LIBEXI_A_O_FILES:.o=.d)
|
||||
$(LIBEXI_A_D_FILES):
|
||||
include $(wildcard $(LIBEXI_A_D_FILES))
|
||||
endif
|
||||
|
||||
|
||||
@@ -33,11 +33,18 @@ $(BUILD_DIR)/libgd.a: $(LIBGD_A_O_FILES)
|
||||
@echo $(LIBGD_A_O_FILES) > build/LIBGD_A_ofiles
|
||||
@$(LD) -xm l $(LIBGD_A_LDFLAGS) -o $(BUILD_DIR)/libgd.a @build/LIBGD_A_ofiles
|
||||
|
||||
$(BUILD_DIR)/libs/dolphin/gd/%.o: libs/dolphin/gd/%.c
|
||||
$(BUILD_DIR)/libs/dolphin/gd/%.o: libs/dolphin/gd/%.c $(BUILD_DIR)/libs/dolphin/gd/%.d
|
||||
@mkdir -p $(@D)
|
||||
@echo building... $<
|
||||
@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).c
|
||||
@$(WINE) tools/mwcc_compiler/1.2.5/mwcceppc.exe $(LIBGD_A_CFLAGS) -c -o $@ $(basename $@).c
|
||||
@$(WINE) tools/mwcc_compiler/1.2.5/mwcceppc.exe $(LIBGD_A_CFLAGS) $(DEPFLAGS) -c -o $(dir $@) $(basename $@).c
|
||||
@if [ -z '$(DISABLE_DEPS)' ]; then tools/transform-dep.py '$(basename $@).d' '$(basename $@).d'; touch -c $@; fi
|
||||
@echo Frank is fixing $@
|
||||
@$(PYTHON) $(FRANK) $@ $@ $@
|
||||
|
||||
ifndef DISABLE_DEPS
|
||||
LIBGD_A_D_FILES := $(LIBGD_A_O_FILES:.o=.d)
|
||||
$(LIBGD_A_D_FILES):
|
||||
include $(wildcard $(LIBGD_A_D_FILES))
|
||||
endif
|
||||
|
||||
|
||||
@@ -27,9 +27,16 @@ $(BUILD_DIR)/libgf.a: $(LIBGF_A_O_FILES)
|
||||
@echo $(LIBGF_A_O_FILES) > build/LIBGF_A_ofiles
|
||||
@$(LD) -xm l $(LIBGF_A_LDFLAGS) -o $(BUILD_DIR)/libgf.a @build/LIBGF_A_ofiles
|
||||
|
||||
$(BUILD_DIR)/libs/dolphin/gf/%.o: libs/dolphin/gf/%.cpp
|
||||
$(BUILD_DIR)/libs/dolphin/gf/%.o: libs/dolphin/gf/%.cpp $(BUILD_DIR)/libs/dolphin/gf/%.d
|
||||
@mkdir -p $(@D)
|
||||
@echo building... $<
|
||||
@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp
|
||||
@$(CC) $(CFLAGS) $(LIBGF_A_CFLAGS) -c -o $@ $(basename $@).cpp
|
||||
@$(CC) $(CFLAGS) $(LIBGF_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
|
||||
LIBGF_A_D_FILES := $(LIBGF_A_O_FILES:.o=.d)
|
||||
$(LIBGF_A_D_FILES):
|
||||
include $(wildcard $(LIBGF_A_D_FILES))
|
||||
endif
|
||||
|
||||
|
||||
@@ -49,11 +49,18 @@ $(BUILD_DIR)/libgx.a: $(LIBGX_A_O_FILES)
|
||||
@echo $(LIBGX_A_O_FILES) > build/LIBGX_A_ofiles
|
||||
@$(LD) -xm l $(LIBGX_A_LDFLAGS) -o $(BUILD_DIR)/libgx.a @build/LIBGX_A_ofiles
|
||||
|
||||
$(BUILD_DIR)/libs/dolphin/gx/%.o: libs/dolphin/gx/%.c
|
||||
$(BUILD_DIR)/libs/dolphin/gx/%.o: libs/dolphin/gx/%.c $(BUILD_DIR)/libs/dolphin/gx/%.d
|
||||
@mkdir -p $(@D)
|
||||
@echo building... $<
|
||||
@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).c
|
||||
@$(WINE) tools/mwcc_compiler/1.2.5/mwcceppc.exe $(CFLAGS) $(LIBGX_A_CFLAGS) -c -o $@ $(basename $@).c
|
||||
@$(WINE) tools/mwcc_compiler/1.2.5/mwcceppc.exe $(CFLAGS) $(LIBGX_A_CFLAGS) $(DEPFLAGS) -c -o $(dir $@) $(basename $@).c
|
||||
@if [ -z '$(DISABLE_DEPS)' ]; then tools/transform-dep.py '$(basename $@).d' '$(basename $@).d'; touch -c $@; fi
|
||||
@echo Frank is fixing $@
|
||||
@$(PYTHON) $(FRANK) $@ $@ $@
|
||||
|
||||
ifndef DISABLE_DEPS
|
||||
LIBGX_A_D_FILES := $(LIBGX_A_O_FILES:.o=.d)
|
||||
$(LIBGX_A_D_FILES):
|
||||
include $(wildcard $(LIBGX_A_D_FILES))
|
||||
endif
|
||||
|
||||
|
||||
@@ -31,11 +31,18 @@ $(BUILD_DIR)/libmtx.a: $(LIBMTX_A_O_FILES)
|
||||
@echo $(LIBMTX_A_O_FILES) > build/LIBMTX_A_ofiles
|
||||
@$(LD) -xm l $(LIBMTX_A_LDFLAGS) -o $(BUILD_DIR)/libmtx.a @build/LIBMTX_A_ofiles
|
||||
|
||||
$(BUILD_DIR)/libs/dolphin/mtx/%.o: libs/dolphin/mtx/%.c
|
||||
$(BUILD_DIR)/libs/dolphin/mtx/%.o: libs/dolphin/mtx/%.c $(BUILD_DIR)/libs/dolphin/mtx/%.d
|
||||
@mkdir -p $(@D)
|
||||
@echo building... $<
|
||||
@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).c
|
||||
@$(WINE) tools/mwcc_compiler/1.2.5/mwcceppc.exe $(CFLAGS) $(LIBMTX_A_CFLAGS) -c -o $@ $(basename $@).c
|
||||
@$(WINE) tools/mwcc_compiler/1.2.5/mwcceppc.exe $(CFLAGS) $(LIBMTX_A_CFLAGS) $(DEPFLAGS) -c -o $(dir $@) $(basename $@).c
|
||||
@if [ -z '$(DISABLE_DEPS)' ]; then tools/transform-dep.py '$(basename $@).d' '$(basename $@).d'; touch -c $@; fi
|
||||
@echo Frank is fixing $@
|
||||
@$(PYTHON) $(FRANK) $@ $@ $@
|
||||
|
||||
ifndef DISABLE_DEPS
|
||||
LIBMTX_A_D_FILES := $(LIBMTX_A_O_FILES:.o=.d)
|
||||
$(LIBMTX_A_D_FILES):
|
||||
include $(wildcard $(LIBMTX_A_D_FILES))
|
||||
endif
|
||||
|
||||
|
||||
@@ -75,11 +75,18 @@ $(BUILD_DIR)/libos.a: $(LIBOS_A_O_FILES)
|
||||
@echo $(LIBOS_A_O_FILES) > build/LIBOS_A_ofiles
|
||||
@$(LD) -xm l $(LIBOS_A_LDFLAGS) -o $(BUILD_DIR)/libos.a @build/LIBOS_A_ofiles
|
||||
|
||||
$(BUILD_DIR)/libs/dolphin/os/%.o: libs/dolphin/os/%.c
|
||||
$(BUILD_DIR)/libs/dolphin/os/%.o: libs/dolphin/os/%.c $(BUILD_DIR)/libs/dolphin/os/%.d
|
||||
@mkdir -p $(@D)
|
||||
@echo building... $<
|
||||
@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).c
|
||||
@$(WINE) tools/mwcc_compiler/1.2.5/mwcceppc.exe $(LIBOS_A_CFLAGS) -c -o $@ $(basename $@).c
|
||||
@$(WINE) tools/mwcc_compiler/1.2.5/mwcceppc.exe $(LIBOS_A_CFLAGS) $(DEPFLAGS) -c -o $(dir $@) $(basename $@).c
|
||||
@if [ -z '$(DISABLE_DEPS)' ]; then tools/transform-dep.py '$(basename $@).d' '$(basename $@).d'; touch -c $@; fi
|
||||
@echo Frank is fixing $@
|
||||
@$(PYTHON) $(FRANK) $@ $@ $@
|
||||
|
||||
ifndef DISABLE_DEPS
|
||||
LIBOS_A_D_FILES := $(LIBOS_A_O_FILES:.o=.d)
|
||||
$(LIBOS_A_D_FILES):
|
||||
include $(wildcard $(LIBOS_A_D_FILES))
|
||||
endif
|
||||
|
||||
|
||||
@@ -33,11 +33,18 @@ $(BUILD_DIR)/libpad.a: $(LIBPAD_A_O_FILES)
|
||||
@echo $(LIBPAD_A_O_FILES) > build/LIBPAD_A_ofiles
|
||||
@$(LD) -xm l $(LIBPAD_A_LDFLAGS) -o $(BUILD_DIR)/libpad.a @build/LIBPAD_A_ofiles
|
||||
|
||||
$(BUILD_DIR)/libs/dolphin/pad/%.o: libs/dolphin/pad/%.c
|
||||
$(BUILD_DIR)/libs/dolphin/pad/%.o: libs/dolphin/pad/%.c $(BUILD_DIR)/libs/dolphin/pad/%.d
|
||||
@mkdir -p $(@D)
|
||||
@echo building... $<
|
||||
@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).c
|
||||
@$(WINE) tools/mwcc_compiler/1.2.5/mwcceppc.exe $(LIBPAD_A_CFLAGS) -c -o $@ $(basename $@).c
|
||||
@$(WINE) tools/mwcc_compiler/1.2.5/mwcceppc.exe $(LIBPAD_A_CFLAGS) $(DEPFLAGS) -c -o $(dir $@) $(basename $@).c
|
||||
@if [ -z '$(DISABLE_DEPS)' ]; then tools/transform-dep.py '$(basename $@).d' '$(basename $@).d'; touch -c $@; fi
|
||||
@echo Frank is fixing $@
|
||||
@$(PYTHON) $(FRANK) $@ $@ $@
|
||||
|
||||
ifndef DISABLE_DEPS
|
||||
LIBPAD_A_D_FILES := $(LIBPAD_A_O_FILES:.o=.d)
|
||||
$(LIBPAD_A_D_FILES):
|
||||
include $(wildcard $(LIBPAD_A_D_FILES))
|
||||
endif
|
||||
|
||||
|
||||
@@ -33,11 +33,18 @@ $(BUILD_DIR)/libsi.a: $(LIBSI_A_O_FILES)
|
||||
@echo $(LIBSI_A_O_FILES) > build/LIBSI_A_ofiles
|
||||
@$(LD) -xm l $(LIBSI_A_LDFLAGS) -o $(BUILD_DIR)/libsi.a @build/LIBSI_A_ofiles
|
||||
|
||||
$(BUILD_DIR)/libs/dolphin/si/%.o: libs/dolphin/si/%.c
|
||||
$(BUILD_DIR)/libs/dolphin/si/%.o: libs/dolphin/si/%.c $(BUILD_DIR)/libs/dolphin/si/%.d
|
||||
@mkdir -p $(@D)
|
||||
@echo building... $<
|
||||
@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).c
|
||||
@$(WINE) tools/mwcc_compiler/1.2.5/mwcceppc.exe $(LIBSI_A_CFLAGS) -c -o $@ $(basename $@).c
|
||||
@$(WINE) tools/mwcc_compiler/1.2.5/mwcceppc.exe $(LIBSI_A_CFLAGS) $(DEPFLAGS) -c -o $(dir $@) $(basename $@).c
|
||||
@if [ -z '$(DISABLE_DEPS)' ]; then tools/transform-dep.py '$(basename $@).d' '$(basename $@).d'; touch -c $@; fi
|
||||
@echo Frank is fixing $@
|
||||
@$(PYTHON) $(FRANK) $@ $@ $@
|
||||
|
||||
ifndef DISABLE_DEPS
|
||||
LIBSI_A_D_FILES := $(LIBSI_A_O_FILES:.o=.d)
|
||||
$(LIBSI_A_D_FILES):
|
||||
include $(wildcard $(LIBSI_A_D_FILES))
|
||||
endif
|
||||
|
||||
|
||||
@@ -31,11 +31,18 @@ $(BUILD_DIR)/libvi.a: $(LIBVI_A_O_FILES)
|
||||
@echo $(LIBVI_A_O_FILES) > build/LIBVI_A_ofiles
|
||||
@$(LD) -xm l $(LIBVI_A_LDFLAGS) -o $(BUILD_DIR)/libvi.a @build/LIBVI_A_ofiles
|
||||
|
||||
$(BUILD_DIR)/libs/dolphin/vi/%.o: libs/dolphin/vi/%.c
|
||||
$(BUILD_DIR)/libs/dolphin/vi/%.o: libs/dolphin/vi/%.c $(BUILD_DIR)/libs/dolphin/vi/%.d
|
||||
@mkdir -p $(@D)
|
||||
@echo building... $<
|
||||
@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).c
|
||||
@$(WINE) tools/mwcc_compiler/1.2.5/mwcceppc.exe $(LIBVI_A_CFLAGS) -c -o $@ $(basename $@).c
|
||||
@$(WINE) tools/mwcc_compiler/1.2.5/mwcceppc.exe $(LIBVI_A_CFLAGS) $(DEPFLAGS) -c -o $(dir $@) $(basename $@).c
|
||||
@if [ -z '$(DISABLE_DEPS)' ]; then tools/transform-dep.py '$(basename $@).d' '$(basename $@).d'; touch -c $@; fi
|
||||
@echo Frank is fixing $@
|
||||
@$(PYTHON) $(FRANK) $@ $@ $@
|
||||
|
||||
ifndef DISABLE_DEPS
|
||||
LIBVI_A_D_FILES := $(LIBVI_A_O_FILES:.o=.d)
|
||||
$(LIBVI_A_D_FILES):
|
||||
include $(wildcard $(LIBVI_A_D_FILES))
|
||||
endif
|
||||
|
||||
|
||||
@@ -21,9 +21,16 @@ $(BUILD_DIR)/libodemuexi2.a: $(LIBODEMUEXI2_A_O_FILES)
|
||||
@echo $(LIBODEMUEXI2_A_O_FILES) > build/LIBODEMUEXI2_A_ofiles
|
||||
@$(LD) -xm l $(LIBODEMUEXI2_A_LDFLAGS) -o $(BUILD_DIR)/libodemuexi2.a @build/LIBODEMUEXI2_A_ofiles
|
||||
|
||||
$(BUILD_DIR)/libs/odemuexi2/%.o: libs/odemuexi2/%.cpp
|
||||
$(BUILD_DIR)/libs/odemuexi2/%.o: libs/odemuexi2/%.cpp $(BUILD_DIR)/libs/odemuexi2/%.d
|
||||
@mkdir -p $(@D)
|
||||
@echo building... $<
|
||||
@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp
|
||||
@$(CC) $(CFLAGS) $(LIBODEMUEXI2_A_CFLAGS) -c -o $@ $(basename $@).cpp
|
||||
@$(CC) $(CFLAGS) $(LIBODEMUEXI2_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
|
||||
LIBODEMUEXI2_A_D_FILES := $(LIBODEMUEXI2_A_O_FILES:.o=.d)
|
||||
$(LIBODEMUEXI2_A_D_FILES):
|
||||
include $(wildcard $(LIBODEMUEXI2_A_D_FILES))
|
||||
endif
|
||||
|
||||
|
||||
@@ -21,9 +21,16 @@ $(BUILD_DIR)/libodenotstub.a: $(LIBODENOTSTUB_A_O_FILES)
|
||||
@echo $(LIBODENOTSTUB_A_O_FILES) > build/LIBODENOTSTUB_A_ofiles
|
||||
@$(LD) -xm l $(LIBODENOTSTUB_A_LDFLAGS) -o $(BUILD_DIR)/libodenotstub.a @build/LIBODENOTSTUB_A_ofiles
|
||||
|
||||
$(BUILD_DIR)/libs/odenotstub/%.o: libs/odenotstub/%.cpp
|
||||
$(BUILD_DIR)/libs/odenotstub/%.o: libs/odenotstub/%.cpp $(BUILD_DIR)/libs/odenotstub/%.d
|
||||
@mkdir -p $(@D)
|
||||
@echo building... $<
|
||||
@$(ICONV) -f UTF-8 -t CP932 < $< > $(basename $@).cpp
|
||||
@$(CC) $(CFLAGS) $(LIBODENOTSTUB_A_CFLAGS) -c -o $@ $(basename $@).cpp
|
||||
@$(CC) $(CFLAGS) $(LIBODENOTSTUB_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
|
||||
LIBODENOTSTUB_A_D_FILES := $(LIBODENOTSTUB_A_O_FILES:.o=.d)
|
||||
$(LIBODENOTSTUB_A_D_FILES):
|
||||
include $(wildcard $(LIBODENOTSTUB_A_D_FILES))
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user