[Scummvm-cvs-logs] SF.net SVN: scummvm:[50744] scummvm/trunk/backends/platform/ds/arm9/ makefile

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Thu Jul 8 01:24:08 CEST 2010


Revision: 50744
          http://scummvm.svn.sourceforge.net/scummvm/?rev=50744&view=rev
Author:   fingolfin
Date:     2010-07-07 23:24:08 +0000 (Wed, 07 Jul 2010)

Log Message:
-----------
DS: Split buildrule for scummvm.nds and scummvm.ds.gba

This parallels what I did in ds.mk

Modified Paths:
--------------
    scummvm/trunk/backends/platform/ds/arm9/makefile

Modified: scummvm/trunk/backends/platform/ds/arm9/makefile
===================================================================
--- scummvm/trunk/backends/platform/ds/arm9/makefile	2010-07-07 23:23:44 UTC (rev 50743)
+++ scummvm/trunk/backends/platform/ds/arm9/makefile	2010-07-07 23:24:08 UTC (rev 50744)
@@ -345,7 +345,7 @@
 
 ndsall:
 	@[ -d $(BUILD) ] || mkdir -p $(BUILD)
-	make -C ./$(BUILD) -f ../makefile scummvm.nds
+	make -C ./$(BUILD) -f ../makefile scummvm.nds scummvm.ds.gba
 
 include $(srcdir)/Makefile.common
 
@@ -400,10 +400,11 @@
 
 #---------------------------------------------------------------------------------
 %.nds: %.bin
-	ndstool -c $@ -9 scummvm.bin $(ARM7BIN) -b ../../$(LOGO) "$(shell basename $@);ScummVM $(VERSION);DS Port"
-	dsbuild $@ -l ../ndsloader.bin
+	ndstool -c $@ -9 $< $(ARM7BIN) -b ../../$(LOGO) "$(@F);ScummVM $(VERSION);DS Port"
 
-	padbin 16 $(basename $@).ds.gba
+%.ds.gba: %.nds
+	dsbuild $< -o $@ -l $(portdir)/ndsloader.bin
+	padbin 16 $@
 
 #---------------------------------------------------------------------------------
 %.bin: %.elf


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list