1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-16 20:05:07 +00:00
mpv/mp3lib/Makefile
reimar 1064982ff8 Follow ffmpeg TARGET_ARCH_* -> ARCH_* change.
Feel free to revert if you do not like it, but I want to get MPlayer to compile again.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23563 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-16 15:24:39 +00:00

22 lines
659 B
Makefile

include ../config.mak
LIBNAME_COMMON = libmp3.a
SRCS_COMMON = sr1.c
SRCS_COMMON-$(TARGET_MMX) += decode_MMX.c
SRCS_COMMON-$(TARGET_SSE) += dct64_sse.c
ifeq ($(ARCH_X86_32),yes)
SRCS_COMMON += decode_i586.c
SRCS_COMMON-$(TARGET_MMX) += dct64_MMX.c
SRCS_COMMON-$(TARGET_3DNOW) += dct36_3dnow.c dct64_3dnow.c
SRCS_COMMON-$(TARGET_3DNOWEX) += dct36_k7.c dct64_k7.c
endif
SRCS_COMMON-$(TARGET_ALTIVEC) += dct64_altivec.c
include ../mpcommon.mak
decode_i586.o: CFLAGS += -fomit-frame-pointer
%: %.c $(LIBNAME_COMMON) ../libvo/aclib.o ../mp_msg-mencoder.o ../cpudetect.o ../osdep/getch2.o
$(CC) $(CFLAGS) -o $@ $^ -ltermcap -lm