Mercurial > libavcodec.hg
diff Makefile @ 62:4bfc845cdfea libavcodec
arm optimizations
author | glantau |
---|---|
date | Mon, 13 Aug 2001 21:45:36 +0000 |
parents | ab64a3fc62bf |
children | d7603c46c52f |
line wrap: on
line diff
--- a/Makefile Mon Aug 13 21:38:25 2001 +0000 +++ b/Makefile Mon Aug 13 21:45:36 2001 +0000 @@ -31,6 +31,12 @@ i386/idct_mmx.o endif +# armv4l specific stuff +ifeq ($(TARGET_ARCH_ARMV4L),yes) +ASM_OBJS += armv4l/jrevdct_arm.o +OBJS += armv4l/dsputil_arm.o +endif + SRCS = $(OBJS:.o=.c) $(ASM_OBJS:.o=.s) LIB= libavcodec.a @@ -48,6 +54,9 @@ %.o: %.c $(CC) $(CFLAGS) -c -o $@ $< +%.o: %.S + $(CC) $(CFLAGS) -c -o $@ $< + %.o: %.s nasm -f elf -o $@ $< @@ -59,6 +68,7 @@ clean: rm -f *.o *~ *.a i386/*.o i386/*~ \ + armv4l/*.o armv4l/*~ \ libac3/*.o libac3/*~ \ mpglib/*.o mpglib/*~ \ apiexample $(TESTS)