diff options
author | Marcus Comstedt | 2009-10-10 12:35:20 +0000 |
---|---|---|
committer | Marcus Comstedt | 2009-10-10 12:35:20 +0000 |
commit | b94c17488b48364953142c8c81fc7c07684175b2 (patch) | |
tree | 220bb9e6066d518d36238cabd932a4d04e6a07b0 /Makefile.common | |
parent | 3e259dea30f02e90b891801b27bdedb44f66a06f (diff) | |
download | scummvm-rg350-b94c17488b48364953142c8c81fc7c07684175b2.tar.gz scummvm-rg350-b94c17488b48364953142c8c81fc7c07684175b2.tar.bz2 scummvm-rg350-b94c17488b48364953142c8c81fc7c07684175b2.zip |
Added a rule for assembler with cpp preprocessing.
svn-id: r44871
Diffstat (limited to 'Makefile.common')
-rw-r--r-- | Makefile.common | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.common b/Makefile.common index c471acf324..72fe3c7510 100644 --- a/Makefile.common +++ b/Makefile.common @@ -121,6 +121,10 @@ endif $(QUIET)$(MKDIR) $(*D) $(QUIET_AS)$(AS) $(ASFLAGS) $(<) -o $*.o +%.o: %.S + $(QUIET)$(MKDIR) $(*D)/$(DEPDIR) + $(QUIET_AS)$(CXX) $(CXX_UPDATE_DEP_FLAG) $(ASFLAGS) -c $(<) -o $*.o + ifdef HAVE_NASM %.o: %.asm $(QUIET)$(MKDIR) $(*D) |