comparison Makefile @ 22:c31fb57d17a6 libavcodec

Suppressing external gas stuff to improve portability to Win32
author nickols_k
date Sun, 05 Aug 2001 16:49:57 +0000
parents b69fe46fd708
children 1e131bc21101
comparison
equal deleted inserted replaced
21:20e680e7a490 22:c31fb57d17a6
23 mpglib/dct64_i386.o mpglib/decode_i386.o mpglib/tabinit.o 23 mpglib/dct64_i386.o mpglib/decode_i386.o mpglib/tabinit.o
24 endif 24 endif
25 25
26 # i386 mmx specific stuff 26 # i386 mmx specific stuff
27 ifeq ($(TARGET_MMX),yes) 27 ifeq ($(TARGET_MMX),yes)
28 ASM_OBJS += i386/fdct_mmx.o i386/sad_mmx.o i386/cpuid.o 28 ASM_OBJS += i386/fdct_mmx.o i386/sad_mmx.o
29 OBJS += i386/fdctdata.o i386/cputest.o \ 29 OBJS += i386/fdctdata.o i386/cputest.o \
30 i386/dsputil_mmx.o i386/mpegvideo_mmx.o 30 i386/dsputil_mmx.o i386/mpegvideo_mmx.o
31 endif 31 endif
32 32
33 SRCS = $(OBJS:.o=.c) $(ASM_OBJS:.o=.s) 33 SRCS = $(OBJS:.o=.c) $(ASM_OBJS:.o=.s)
44 44
45 dsputil.o: dsputil.c dsputil.h 45 dsputil.o: dsputil.c dsputil.h
46 46
47 %.o: %.c 47 %.o: %.c
48 $(CC) $(CFLAGS) -c -o $@ $< 48 $(CC) $(CFLAGS) -c -o $@ $<
49
50 i386/cpuid.o: i386/cpuid.s
51 $(CC) -c -o $@ $<
52 49
53 %.o: %.s 50 %.o: %.s
54 nasm -f elf -o $@ $< 51 nasm -f elf -o $@ $<
55 52
56 # depend only used by mplayer now 53 # depend only used by mplayer now