[Scummvm-cvs-logs] SF.net SVN: scummvm:[45981] scummvm/branches/branch-1-0-0/Makefile.common

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Thu Nov 19 00:12:52 CET 2009


Revision: 45981
          http://scummvm.svn.sourceforge.net/scummvm/?rev=45981&view=rev
Author:   fingolfin
Date:     2009-11-18 23:12:52 +0000 (Wed, 18 Nov 2009)

Log Message:
-----------
Backport fixes for *.s / *.asm build rules (fix issues when building in an external dir, visible e.g. with the linuxmoto port)

Modified Paths:
--------------
    scummvm/branches/branch-1-0-0/Makefile.common

Modified: scummvm/branches/branch-1-0-0/Makefile.common
===================================================================
--- scummvm/branches/branch-1-0-0/Makefile.common	2009-11-18 23:08:52 UTC (rev 45980)
+++ scummvm/branches/branch-1-0-0/Makefile.common	2009-11-18 23:12:52 UTC (rev 45981)
@@ -102,10 +102,12 @@
 endif
 
 %.o: %.s
+	$(MKDIR) $(*D)
 	$(AS) $(ASFLAGS) $(<) -o $*.o
 
 ifdef HAVE_NASM
 %.o: %.asm
+	$(MKDIR) $(*D)
 	$(NASM) -O1 $(NASMFLAGS) -g -o $*.o $(<)
 endif
 


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