added VPATH support for multiple dir compilation
authorFabrice Bellard <fabrice@bellard.org>
Sat, 18 May 2002 23:01:20 +0000 (23:01 +0000)
committerFabrice Bellard <fabrice@bellard.org>
Sat, 18 May 2002 23:01:20 +0000 (23:01 +0000)
Originally committed as revision 521 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/Makefile

index ff36708..a38994e 100644 (file)
@@ -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 \