diff Makefile @ 973:e2c119417470 libavcodec

enabled SSE fft (first code using GCC 3.2 vector builtins on x86 - please tell me if you have better ideas for intrinsic naming or Makefile support)
author bellard
date Tue, 07 Jan 2003 17:48:14 +0000
parents 725ef4ea3ecc
children e05d525505c5
line wrap: on
line diff
--- a/Makefile	Tue Jan 07 17:46:08 2003 +0000
+++ b/Makefile	Tue Jan 07 17:48:14 2003 +0000
@@ -50,7 +50,7 @@
 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/simple_idct_mmx.o i386/fft_sse.o
 endif
 
 # armv4l specific stuff
@@ -110,14 +110,6 @@
 
 dsputil.o: dsputil.c dsputil.h
 
-# specific sse code
-%_sse.o : %_sse.c
-	$(CC) $(CFLAGS) -msse -c -o $@ $< 
-
-# specific 3dnow code
-%_3dnow.o : %_3dnow.c
-	$(CC) $(CFLAGS) -m3dnow -c -o $@ $< 
-
 %.o: %.c
 	$(CC) $(CFLAGS) -c -o $@ $< 
 
@@ -174,7 +166,7 @@
 motion-test: motion_test.o $(LIB)
 	$(CC) -o $@ $^ -lm
 
-fft-test: fft-test.o fft.o mdct.o
+fft-test: fft-test.o $(LIB)
 	$(CC) -o $@ $^ -lm
 
 install: all