mirror of
https://github.com/BernardoGiordano/Checkpoint
synced 2024-11-24 17:53:03 +00:00
Fix sprites.t3x not being included in 3ds .cia
This commit is contained in:
parent
d34006d114
commit
21a8de0afc
1 changed files with 7 additions and 8 deletions
15
3ds/Makefile
15
3ds/Makefile
|
@ -183,7 +183,7 @@ endif
|
|||
.PHONY: all clean format cheats
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
all: cheats
|
||||
all: cheats sprites
|
||||
@mkdir -p $(BUILD) $(GFXBUILD) $(OUTDIR)
|
||||
@$(MAKE) --no-print-directory -C $(BUILD) -f $(CURDIR)/Makefile $(OUTPUT).3dsx
|
||||
@bannertool makebanner -i "$(BANNER_IMAGE)" -a "$(BANNER_AUDIO)" -o $(BUILD)/banner.bnr
|
||||
|
@ -192,7 +192,7 @@ all: cheats
|
|||
#---------------------------------------------------------------------------------
|
||||
clean:
|
||||
@echo clean ...
|
||||
@rm -fr $(BUILD) $(OUTDIR)
|
||||
@rm -fr $(BUILD) $(GFXBUILD) $(OUTDIR) $(ROMFS)/$(CHEATS)
|
||||
#---------------------------------------------------------------------------------
|
||||
cheats:
|
||||
@mkdir -p $(BUILD) $(ROMFS)/$(CHEATS)
|
||||
|
@ -203,6 +203,11 @@ else
|
|||
endif
|
||||
@cd $(SHARKIVE)/$(BUILD) && mv 3ds.json.bz2 ../../3ds/$(ROMFS)/$(CHEATS)/$(CHEATS).json.bz2
|
||||
#---------------------------------------------------------------------------------
|
||||
sprites:
|
||||
@mkdir -p $(BUILD) $(GFXBUILD)
|
||||
@$(MAKE) --no-print-directory -C $(BUILD) -f $(CURDIR)/Makefile sprites.t3x
|
||||
@cp $(BUILD)/sprites.t3x $(GFXBUILD)/sprites.t3x
|
||||
#---------------------------------------------------------------------------------
|
||||
format:
|
||||
clang-format -i -style=file $(foreach dir,$(FORMATSOURCES),$(wildcard $(dir)/*.c) $(wildcard $(dir)/*.cpp) $(wildcard $(dir)/*.tcc)) $(foreach dir,$(FORMATINCLUDES),$(wildcard $(dir)/*.h) $(wildcard $(dir)/*.hpp))
|
||||
#---------------------------------------------------------------------------------
|
||||
|
@ -256,12 +261,6 @@ endef
|
|||
@echo $(notdir $<)
|
||||
@$(call shader-as,$(foreach file,$(shell cat $<),$(dir $<)$(file)))
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
%.t3x %.h : %.t3s
|
||||
#---------------------------------------------------------------------------------
|
||||
@echo $(notdir $<)
|
||||
@tex3ds -i $< -H $*.h -d $*.d -o $(TOPDIR)/$(GFXBUILD)/$*.t3x
|
||||
|
||||
-include $(DEPSDIR)/*.d
|
||||
|
||||
#---------------------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue