From 0725406c94732dc2ff34fbac26808f76cc9b30d1 Mon Sep 17 00:00:00 2001 From: Fabrice Bellard Date: Mon, 30 Jul 2001 23:50:04 +0000 Subject: [PATCH] added cpuid.s Originally committed as revision 24 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libavcodec/Makefile b/libavcodec/Makefile index 914dd4af41..58a0274aac 100644 --- a/libavcodec/Makefile +++ b/libavcodec/Makefile @@ -25,7 +25,7 @@ endif # i386 mmx specific stuff ifeq ($(TARGET_MMX),yes) -ASM_OBJS += i386/fdct_mmx.o i386/sad_mmx.o +ASM_OBJS += i386/fdct_mmx.o i386/sad_mmx.o i386/cpuid.o OBJS += i386/fdctdata.o i386/cputest.o \ i386/dsputil_mmx.o i386/mpegvideo_mmx.o endif @@ -46,6 +46,9 @@ dsputil.o: dsputil.c dsputil.h %.o: %.c $(CC) $(CFLAGS) -c -o $@ $< +i386/cpuid.o: i386/cpuid.s + $(CC) -c -o $@ $< + %.o: %.s nasm -f elf -o $@ $<