fixed dependancy generation (I want the case where SRC_PATH is not . to work too...
authorFabrice Bellard <fabrice@bellard.org>
Wed, 22 Jan 2003 09:35:03 +0000 (09:35 +0000)
committerFabrice Bellard <fabrice@bellard.org>
Wed, 22 Jan 2003 09:35:03 +0000 (09:35 +0000)
Originally committed as revision 1488 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/Makefile

index 99cc021148f649cbae277414b31f8c88add880c2..851ef730188b823e654e913dbc62b0f73c1b16bd 100644 (file)
@@ -51,6 +51,9 @@ OBJS += i386/fdct_mmx.o i386/cputest.o \
        i386/dsputil_mmx.o i386/mpegvideo_mmx.o \
        i386/idct_mmx.o i386/motion_est_mmx.o \
        i386/simple_idct_mmx.o i386/fft_sse.o
+ifdef TARGET_BUILTIN_VECTOR
+i386/fft_sse.o: CFLAGS+= -msse
+endif
 endif
 
 # armv4l specific stuff
@@ -131,7 +134,7 @@ alpha/motion_est_alpha.o: alpha/motion_est_alpha.c
 endif
 
 .depend: $(SRCS)
-       $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
+       $(CC) -MM $(CFLAGS) $^ 1>.depend
 
 dep:   depend