changeset 395:80518daaab05 libavcodec

added VPATH support for multiple dir compilation
author glantau
date Sat, 18 May 2002 23:01:20 +0000
parents e2cb8a4ee0c5
children fce0a2520551
files Makefile
diffstat 1 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Sat May 18 22:59:50 2002 +0000
+++ b/Makefile	Sat May 18 23:01:20 2002 +0000
@@ -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 \