aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabrice Bellard <fabrice@bellard.org>2002-05-18 23:01:20 +0000
committerFabrice Bellard <fabrice@bellard.org>2002-05-18 23:01:20 +0000
commit4cc281d9d970b0b004f20ee76cae427f374bd082 (patch)
tree7ebfc6fd57e69e1b252ebc678990e5c811ad8c09
parent3123dd793eaf26a4932e4ceeb6d271a4d512bab0 (diff)
downloadffmpeg-4cc281d9d970b0b004f20ee76cae427f374bd082.tar.gz
added VPATH support for multiple dir compilation
Originally committed as revision 521 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/libavcodec/Makefile b/libavcodec/Makefile
index ff36708aef..a38994ee41 100644
--- a/libavcodec/Makefile
+++ b/libavcodec/Makefile
@@ -1,6 +1,12 @@
+#
+# libavcodec Makefile
+# (c) 2000, 2001, 2002 Gerard Lantau
+#
include ../config.mak
-CFLAGS= $(OPTFLAGS) -Wall -g -DHAVE_AV_CONFIG_H -I. -I..
+VPATH=$(SRC_PATH)/libavcodec
+
+CFLAGS= $(OPTFLAGS) -Wall -g -DHAVE_AV_CONFIG_H -I.. -I$(SRC_PATH)
LDFLAGS= -g
OBJS= common.o utils.o mpegvideo.o h263.o jrevdct.o jfdctfst.o \