changeset 1027:a0a7149be543 libavcodec

fixed dependancy generation (I want the case where SRC_PATH is not . to work too - very useful if you have different gcc versions to test at the same time...) - fixed -msse stuff
author bellard
date Wed, 22 Jan 2003 09:35:03 +0000
parents d6ba0641cc36
children e76fb91de4cc
files Makefile
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Tue Jan 21 21:30:48 2003 +0000
+++ b/Makefile	Wed Jan 22 09:35:03 2003 +0000
@@ -51,6 +51,9 @@
 	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 @@
 endif
 
 .depend: $(SRCS)
-	$(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
+	$(CC) -MM $(CFLAGS) $^ 1>.depend
 
 dep:	depend