Mercurial > mplayer.hg
comparison libmpeg2/Makefile @ 19132:0945c6e242c6
remove duplicate code and fix issue of compiling mmx code when we
shouldn't in one fell swoop!
author | rfelker |
---|---|
date | Wed, 19 Jul 2006 05:34:26 +0000 |
parents | 7a9a9748e045 |
children | 4f71ed7cb512 |
comparison
equal
deleted
inserted
replaced
19131:078479215e54 | 19132:0945c6e242c6 |
---|---|
14 | 14 |
15 OBJS = $(SRCS:.c=.o) | 15 OBJS = $(SRCS:.c=.o) |
16 INCLUDE = -I. -I../libvo -I.. | 16 INCLUDE = -I. -I../libvo -I.. |
17 CFLAGS = $(OPTFLAGS) $(INCLUDE) -DMPG12PLAY | 17 CFLAGS = $(OPTFLAGS) $(INCLUDE) -DMPG12PLAY |
18 | 18 |
19 ifeq ($(TARGET_ARCH_X86),yes) | 19 ifeq ($(TARGET_MMX),yes) |
20 SRCS += idct_mmx.c motion_comp_mmx.c | |
21 endif | |
22 | |
23 ifeq ($(TARGET_ARCH_X86_64),yes) | |
24 SRCS += idct_mmx.c motion_comp_mmx.c | 20 SRCS += idct_mmx.c motion_comp_mmx.c |
25 endif | 21 endif |
26 | 22 |
27 ifeq ($(TARGET_ALTIVEC),yes) | 23 ifeq ($(TARGET_ALTIVEC),yes) |
28 SRCS += motion_comp_altivec.c idct_altivec.c | 24 SRCS += motion_comp_altivec.c idct_altivec.c |