Mercurial > mplayer.hg
view mp3lib/Makefile @ 22594:e138932c8b9b
Remove Darwin AltiVec CFLAGS settings, configure handles this.
author | diego |
---|---|
date | Thu, 15 Mar 2007 13:19:22 +0000 |
parents | 8a8a78f18786 |
children | 8d88e1bedb92 |
line wrap: on
line source
include ../config.mak LIBNAME_COMMON = libmp3.a ifeq ($(TARGET_ARCH_SGI_MIPS),yes) OPTFLAGS := $(OPTFLAGS:-O4=-O0) endif SRCS_COMMON = sr1.c ifeq ($(TARGET_ARCH_X86_32),yes) SRCS_COMMON += decode_i586.c SRCS_COMMON-$(TARGET_MMX) += decode_MMX.c dct64_MMX.c tabinit_MMX.c SRCS_COMMON-$(TARGET_3DNOW) += dct36_3dnow.c dct64_3dnow.c SRCS_COMMON-$(TARGET_3DNOWEX) += dct36_k7.c dct64_k7.c SRCS_COMMON-$(TARGET_SSE) += dct64_sse.c endif ifeq ($(TARGET_ALTIVEC),yes) SRCS_COMMON += dct64_altivec.c endif include ../mpcommon.mak decode_i586.o: decode_i586.c $(CC) -c $(CFLAGS) -fomit-frame-pointer -o $@ $< %: %.c $(LIBNAME_COMMON) ../libvo/aclib.o ../mp_msg-mencoder.o ../cpudetect.o ../osdep/getch2.o $(CC) $(CFLAGS) -o $@ $^ -ltermcap -lm distclean:: rm -f test test2