added VPATH support

Originally committed as revision 526 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Fabrice Bellard 2002-05-18 23:07:57 +00:00
parent 1c098b2fb6
commit f57a4535bd
1 changed files with 6 additions and 2 deletions

View File

@ -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