From f57a4535bdc45390b9a6c14b8b6d0c32dffa723d Mon Sep 17 00:00:00 2001 From: Fabrice Bellard Date: Sat, 18 May 2002 23:07:57 +0000 Subject: [PATCH] added VPATH support Originally committed as revision 526 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libav/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/libav/Makefile b/libav/Makefile index a243c17518..bbd080f693 100644 --- a/libav/Makefile +++ b/libav/Makefile @@ -1,10 +1,14 @@ include ../config.mak -CFLAGS= $(OPTFLAGS) -Wall -g -I../libavcodec -DHAVE_AV_CONFIG_H + +VPATH=$(SRC_PATH)/libav +PWD=$(shell pwd) + +CFLAGS= $(OPTFLAGS) -Wall -g -I.. -I$(SRC_PATH) -I$(SRC_PATH)/libavcodec -DHAVE_AV_CONFIG_H OBJS= rm.o mpeg.o asf.o avienc.o jpeg.o swf.o wav.o raw.o \ avidec.o ffm.o \ avio.o aviobuf.o utils.o \ - file.o img.o au.o gif.o mov.o + file.o img.o au.o gif.o mov.o crc.o ifeq ($(CONFIG_GRAB),yes) OBJS+= grab.o audio.o