not quite going as planned...
This commit is contained in:
parent
6fc3def7a0
commit
b1741a1320
BIN
Flappy3DS.smdh
BIN
Flappy3DS.smdh
Binary file not shown.
11
Makefile
11
Makefile
@ -38,6 +38,7 @@ DATA := data
|
||||
INCLUDES := include
|
||||
GRAPHICS := gfx
|
||||
ROMFS := romfs
|
||||
# GFXBUILD := $(ROMFS)
|
||||
GFXBUILD := $(ROMFS)/gfx
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
@ -93,15 +94,15 @@ BINFILES := $(foreach dir,$(DATA),$(notdir $(wildcard $(dir)/*.*)))
|
||||
#---------------------------------------------------------------------------------
|
||||
# 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)
|
||||
#---------------------------------------------------------------------------------
|
||||
endif
|
||||
# endif
|
||||
#---------------------------------------------------------------------------------
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
@ -182,7 +183,7 @@ endif
|
||||
#---------------------------------------------------------------------------------
|
||||
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
|
||||
|
Binary file not shown.
@ -35,5 +35,5 @@ void Level::run() {
|
||||
}
|
||||
|
||||
void Level::cleanup() {
|
||||
C2D_SpriteSheetFree(spriteSheet);
|
||||
C2D_SpriteSheetFree(spritesheet);
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user