aboutsummaryrefslogtreecommitdiff
path: root/Makefile.common
diff options
context:
space:
mode:
authorMax Horn2009-10-04 23:21:01 +0000
committerMax Horn2009-10-04 23:21:01 +0000
commit126450f3bc272570d19d0dc8a7473287d1b72ff0 (patch)
tree82198d51e021679508977e189bbe4ce01fc1b620 /Makefile.common
parentfd5cf8f2dbe7e0a64b1f1e387a6c7aa393207698 (diff)
downloadscummvm-rg350-126450f3bc272570d19d0dc8a7473287d1b72ff0.tar.gz
scummvm-rg350-126450f3bc272570d19d0dc8a7473287d1b72ff0.tar.bz2
scummvm-rg350-126450f3bc272570d19d0dc8a7473287d1b72ff0.zip
Revert nonsense I did in backends/platform/linuxmoto/module.mk and modify ASM build rules instead, enforcing the creation of output dirs for compiled files
svn-id: r44647
Diffstat (limited to 'Makefile.common')
-rw-r--r--Makefile.common2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.common b/Makefile.common
index 790dca8f89..5b57446e11 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -118,10 +118,12 @@ endif
%.o: %.s
+ $(QUIET)$(MKDIR) $(*D)
$(QUIET_AS)$(AS) $(ASFLAGS) $(<) -o $*.o
ifdef HAVE_NASM
%.o: %.asm
+ $(QUIET)$(MKDIR) $(*D)
$(QUIET_NASM)$(NASM) -O1 $(NASMFLAGS) -g -o $*.o $(<)
endif