view liba52/Makefile @ 26110:69790f7caffa

configure: Set CONFIG_ENCODERS=yes in config.mak unconditionally config.h already had "#define CONFIG_ENCODERS 1" unconditionally, but the config.mak value depended on whether MEncoder was enabled. Encoders need to be enabled as some encoder code is used by MPlayer too. The inconsistent values broke compilation with --disable-mencoder after libavcodec Makefile made compilation of i386/dsputilenc_mmx.o depend on the config.mak value.
author uau
date Mon, 03 Mar 2008 03:02:36 +0000
parents 853622d14aa4
children e9f5296505f0
line wrap: on
line source

include ../config.mak

LIBNAME_COMMON = liba52.a

SRCS_COMMON = crc.c \
              resample.c \
              bit_allocate.c \
              bitstream.c \
              downmix.c \
              imdct.c \
              parse.c \

include ../mpcommon.mak

test: test.c ../cpudetect.o $(LIBNAME_COMMON)
	$(CC) $(CFLAGS) -o $@ $^ -lm