diff Makefile @ 1465:52254c2f9cae libavcodec

Use asms instead of builtins when compiling for generic Alpha. Less ugly.
author mellum
date Sat, 13 Sep 2003 10:07:46 +0000
parents 357c19b0b27b
children dc1aebe51742
line wrap: on
line diff
--- a/Makefile	Sat Sep 13 02:31:03 2003 +0000
+++ b/Makefile	Sat Sep 13 10:07:46 2003 +0000
@@ -171,17 +171,6 @@
 %.o: %.S
 	$(CC) $(CFLAGS) -c -o $@ $<
 
-# motion_est_alpha uses the MVI extension, which is not available with
-# -mcpu=ev4 (default) or ev5/ev56. Thus, force -mcpu=pca56 in those
-# cases.
-ifeq ($(TARGET_ARCH_ALPHA),yes)
-alpha/motion_est_alpha.o: alpha/motion_est_alpha.c
-	cpu=`echo "$(CFLAGS)" | sed -n 's,.*-mcpu=\([a-zA-Z0-9]*\).*,\1,p'`; \
-	case x"$$cpu" in x|xev[45]*) newcpu=pca56;; *) newcpu=$$cpu;; esac; \
-	echo $(CC) $(CFLAGS) -mcpu=$$newcpu -c -o $@ $<;\
-	$(CC) $(CFLAGS) -mcpu=$$newcpu -c -o $@ $<
-endif
-
 depend: $(SRCS)
 	$(CC) -MM $(CFLAGS) $^ 1>.depend