Browse Source

Move addition of MMX-OBJS to OBJS into common.mak instead of duplicating it.

Originally committed as revision 18478 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diego Biurrun 16 years ago
parent
commit
c5662879ff
2 changed files with 2 additions and 1 deletions
  1. 2 0
      common.mak
  2. 0 1
      libavcodec/Makefile

+ 2 - 0
common.mak

@@ -57,6 +57,8 @@ uninstall: uninstall-libs uninstall-headers
 .PHONY: all depend dep *clean install* uninstall* examples testprogs
 endif
 
+OBJS-$(HAVE_MMX) +=  $(MMX-OBJS-yes)
+
 CFLAGS    += $(CFLAGS-yes)
 OBJS      += $(OBJS-yes)
 FFLIBS    := $(FFLIBS-yes) $(FFLIBS)

+ 0 - 1
libavcodec/Makefile

@@ -463,7 +463,6 @@ OBJS-$(HAVE_MMX)                       += x86/cpuid.o                   \
                                           x86/motion_est_mmx.o          \
                                           x86/mpegvideo_mmx.o           \
                                           x86/simple_idct_mmx.o         \
-                                          $(MMX-OBJS-yes)
 
 OBJS-$(ARCH_ALPHA)                     += alpha/dsputil_alpha.o         \
                                           alpha/dsputil_alpha_asm.o     \