From b94c17488b48364953142c8c81fc7c07684175b2 Mon Sep 17 00:00:00 2001 From: Marcus Comstedt Date: Sat, 10 Oct 2009 12:35:20 +0000 Subject: Added a rule for assembler with cpp preprocessing. svn-id: r44871 --- Makefile.common | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile.common') 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) -- cgit v1.2.3