not quite going as planned...

This commit is contained in:
pradyun 2023-09-15 08:52:44 +12:00
parent 6fc3def7a0
commit b1741a1320
4 changed files with 8 additions and 7 deletions

Binary file not shown.

View File

@ -38,6 +38,7 @@ DATA := data
INCLUDES := include INCLUDES := include
GRAPHICS := gfx GRAPHICS := gfx
ROMFS := romfs ROMFS := romfs
# GFXBUILD := $(ROMFS)
GFXBUILD := $(ROMFS)/gfx GFXBUILD := $(ROMFS)/gfx
#--------------------------------------------------------------------------------- #---------------------------------------------------------------------------------
@ -93,15 +94,15 @@ BINFILES := $(foreach dir,$(DATA),$(notdir $(wildcard $(dir)/*.*)))
#--------------------------------------------------------------------------------- #---------------------------------------------------------------------------------
# use CXX for linking C++ projects, CC for standard C # use CXX for linking C++ projects, CC for standard C
#--------------------------------------------------------------------------------- #---------------------------------------------------------------------------------
ifeq ($(strip $(CPPFILES)),) # ifeq ($(strip $(CPPFILES)),)
#--------------------------------------------------------------------------------- #---------------------------------------------------------------------------------
export LD := $(CC) # export LD := $(CC)
#--------------------------------------------------------------------------------- #---------------------------------------------------------------------------------
else # else
#--------------------------------------------------------------------------------- #---------------------------------------------------------------------------------
export LD := $(CXX) export LD := $(CXX)
#--------------------------------------------------------------------------------- #---------------------------------------------------------------------------------
endif # endif
#--------------------------------------------------------------------------------- #---------------------------------------------------------------------------------
#--------------------------------------------------------------------------------- #---------------------------------------------------------------------------------
@ -182,7 +183,7 @@ endif
#--------------------------------------------------------------------------------- #---------------------------------------------------------------------------------
clean: clean:
@echo clean ... @echo clean ...
@rm -fr $(BUILD) $(TARGET).3dsx $(TARGET).elf $(GFXBUILD) @rm -fr $(BUILD) $(TARGET).3dsx $(OUTPUT).smdh $(TARGET).elf $(GFXBUILD)
#--------------------------------------------------------------------------------- #---------------------------------------------------------------------------------
$(GFXBUILD)/%.t3x $(BUILD)/%.h : %.t3s $(GFXBUILD)/%.t3x $(BUILD)/%.h : %.t3s

Binary file not shown.

View File

@ -35,5 +35,5 @@ void Level::run() {
} }
void Level::cleanup() { void Level::cleanup() {
C2D_SpriteSheetFree(spriteSheet); C2D_SpriteSheetFree(spritesheet);
} }