Mercurial > mplayer.hg
comparison liba52/Makefile @ 10572:d7ec2e2bb0da
Simplified/fixed altivec/altivec.h detection on Linux and Darwin (and others). Patch by Magnus Damm <damm@opensource.se>
author | alex |
---|---|
date | Mon, 11 Aug 2003 20:52:53 +0000 |
parents | 5ba896a38d75 |
children | 80973aa180a5 |
comparison
equal
deleted
inserted
replaced
10571:07cfe1e1a2c9 | 10572:d7ec2e2bb0da |
---|---|
5 | 5 |
6 SRCS = crc.c resample.c bit_allocate.c bitstream.c downmix.c imdct.c imdct_mlib.c parse.c | 6 SRCS = crc.c resample.c bit_allocate.c bitstream.c downmix.c imdct.c imdct_mlib.c parse.c |
7 OBJS = $(SRCS:.c=.o) | 7 OBJS = $(SRCS:.c=.o) |
8 | 8 |
9 CFLAGS = $(MLIB_INC) $(OPTFLAGS) | 9 CFLAGS = $(MLIB_INC) $(OPTFLAGS) |
10 ifeq ($(TARGET_ALTIVEC),yes) | |
11 ifeq ($(TARGET_OS),Darwin) | |
12 CFLAGS+= -faltivec | |
13 else | |
14 CFLAGS+= -maltivec -mabi=altivec | |
15 endif | |
16 endif | |
17 | 10 |
18 .SUFFIXES: .c .o | 11 .SUFFIXES: .c .o |
19 | 12 |
20 # .PHONY: all clean | 13 # .PHONY: all clean |
21 | 14 |