Mercurial > libavcodec.hg
comparison Makefile @ 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 | 3c110cba4b29 |
children | b4172ff70d27 |
comparison
equal
deleted
inserted
replaced
1026:d6ba0641cc36 | 1027:a0a7149be543 |
---|---|
49 ifeq ($(TARGET_MMX),yes) | 49 ifeq ($(TARGET_MMX),yes) |
50 OBJS += i386/fdct_mmx.o i386/cputest.o \ | 50 OBJS += i386/fdct_mmx.o i386/cputest.o \ |
51 i386/dsputil_mmx.o i386/mpegvideo_mmx.o \ | 51 i386/dsputil_mmx.o i386/mpegvideo_mmx.o \ |
52 i386/idct_mmx.o i386/motion_est_mmx.o \ | 52 i386/idct_mmx.o i386/motion_est_mmx.o \ |
53 i386/simple_idct_mmx.o i386/fft_sse.o | 53 i386/simple_idct_mmx.o i386/fft_sse.o |
54 ifdef TARGET_BUILTIN_VECTOR | |
55 i386/fft_sse.o: CFLAGS+= -msse | |
56 endif | |
54 endif | 57 endif |
55 | 58 |
56 # armv4l specific stuff | 59 # armv4l specific stuff |
57 ifeq ($(TARGET_ARCH_ARMV4L),yes) | 60 ifeq ($(TARGET_ARCH_ARMV4L),yes) |
58 ASM_OBJS += armv4l/jrevdct_arm.o | 61 ASM_OBJS += armv4l/jrevdct_arm.o |
129 echo $(CC) $(CFLAGS) -mcpu=$$newcpu -c -o $@ $<;\ | 132 echo $(CC) $(CFLAGS) -mcpu=$$newcpu -c -o $@ $<;\ |
130 $(CC) $(CFLAGS) -mcpu=$$newcpu -c -o $@ $< | 133 $(CC) $(CFLAGS) -mcpu=$$newcpu -c -o $@ $< |
131 endif | 134 endif |
132 | 135 |
133 .depend: $(SRCS) | 136 .depend: $(SRCS) |
134 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend | 137 $(CC) -MM $(CFLAGS) $^ 1>.depend |
135 | 138 |
136 dep: depend | 139 dep: depend |
137 | 140 |
138 depend: .depend | 141 depend: .depend |
139 | 142 |