diff options
author | Bastien Bouclet | 2019-11-04 08:23:33 +0100 |
---|---|---|
committer | Bastien Bouclet | 2019-11-04 08:59:23 +0100 |
commit | cc721bced5d93024fed62822d8dbded5c85d4056 (patch) | |
tree | 22db669566b2202de6145238ad298f8cb43a3b88 /backends/platform | |
parent | 51fe6457165a491bc31f77fd13ac43377a55aca8 (diff) | |
download | scummvm-rg350-cc721bced5d93024fed62822d8dbded5c85d4056.tar.gz scummvm-rg350-cc721bced5d93024fed62822d8dbded5c85d4056.tar.bz2 scummvm-rg350-cc721bced5d93024fed62822d8dbded5c85d4056.zip |
3DS: Add a make rule for a distributable package
Diffstat (limited to 'backends/platform')
-rw-r--r-- | backends/platform/3ds/3ds.mk | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/backends/platform/3ds/3ds.mk b/backends/platform/3ds/3ds.mk index c6aff90516..136e9844d9 100644 --- a/backends/platform/3ds/3ds.mk +++ b/backends/platform/3ds/3ds.mk @@ -14,7 +14,7 @@ CXXFLAGS += -std=gnu++11 ASFLAGS += -mfloat-abi=hard LDFLAGS += -specs=3dsx.specs $(ARCH) -L$(DEVKITPRO)/libctru/lib -L$(DEVKITPRO)/portlibs/3ds/lib -.PHONY: clean_3ds +.PHONY: clean_3ds dist_3ds clean: clean_3ds @@ -26,6 +26,7 @@ clean_3ds: $(RM) $(TARGET).bnr $(RM) $(TARGET).cia $(RM) -rf romfs + $(RM) -rf dist_3ds romfs: $(DIST_FILES_THEMES) $(DIST_FILES_ENGINEDATA) $(DIST_FILES_NETWORKING) $(DIST_FILES_VKEYBD) $(DIST_3DS_EXTRA_FILES) @rm -rf romfs @@ -60,6 +61,14 @@ $(TARGET).cia: $(EXECUTABLE) $(APP_RSF) $(TARGET).smdh $(TARGET).bnr romfs @makerom -f cia -target t -exefslogo -o $@ -elf $(EXECUTABLE) -rsf $(APP_RSF) -banner $(TARGET).bnr -icon $(TARGET).smdh -DAPP_ROMFS=romfs/ @echo built ... $(notdir $@) +dist_3ds: $(TARGET).cia $(TARGET).3dsx $(DIST_FILES_DOCS) + @rm -rf dist_3ds + @mkdir -p dist_3ds + @cp $(TARGET).3dsx $(TARGET).cia dist_3ds/ + @cp $(DIST_FILES_DOCS) dist_3ds/ + @cp $(srcdir)/backends/platform/3ds/README.md dist_3ds/README-3DS.md + @echo built ... $(notdir $@) + #--------------------------------------------------------------------------------- # rules for assembling GPU shaders #--------------------------------------------------------------------------------- |