aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabrice Bellard <fabrice@bellard.org>2002-05-18 23:07:57 +0000
committerFabrice Bellard <fabrice@bellard.org>2002-05-18 23:07:57 +0000
commitf57a4535bdc45390b9a6c14b8b6d0c32dffa723d (patch)
treee52042dd9d62a732cc94a270d122d0b25501a408
parent1c098b2fb6fd099289b500e1e5c8c1ed676fe98a (diff)
downloadffmpeg-f57a4535bdc45390b9a6c14b8b6d0c32dffa723d.tar.gz
added VPATH support
Originally committed as revision 526 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libav/Makefile8
1 files 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