diff options
| author | Jcw87 <Jcw87@users.noreply.github.com> | 2023-01-06 03:42:56 -0800 |
|---|---|---|
| committer | Jcw87 <Jcw87@users.noreply.github.com> | 2023-01-06 03:52:59 -0800 |
| commit | dd984e3b8e9da4251f4c0afea305fb235bc5ff54 (patch) | |
| tree | 0576cc627ce755031c482a1ac176bf45ff9f2dfe /libs/JSystem/J3DGraphAnimator | |
| parent | 5aa83db436135272bcb51ec6824ee3c4275285e4 (diff) | |
Generate makefiles from dol2asm
Diffstat (limited to 'libs/JSystem/J3DGraphAnimator')
| -rw-r--r-- | libs/JSystem/J3DGraphAnimator/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/libs/JSystem/J3DGraphAnimator/Makefile b/libs/JSystem/J3DGraphAnimator/Makefile index cf3389d85e..6519b67f82 100644 --- a/libs/JSystem/J3DGraphAnimator/Makefile +++ b/libs/JSystem/J3DGraphAnimator/Makefile @@ -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 |
