not quite going as planned...
This commit is contained in:
parent
6fc3def7a0
commit
b1741a1320
BIN
Flappy3DS.smdh
BIN
Flappy3DS.smdh
Binary file not shown.
13
Makefile
13
Makefile
@ -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.
@ -35,5 +35,5 @@ void Level::run() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void Level::cleanup() {
|
void Level::cleanup() {
|
||||||
C2D_SpriteSheetFree(spriteSheet);
|
C2D_SpriteSheetFree(spritesheet);
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user