changeset 2499:e003222c878d libavcodec

Build libpostproc out of source directory patch by (James A. Morrison >ja2morri csclub.uwaterloo ca>)
author michael
date Fri, 04 Feb 2005 03:29:50 +0000
parents 4d6d056a00c6
children 99b1de0018bb
files libpostproc/Makefile
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpostproc/Makefile	Fri Feb 04 02:47:45 2005 +0000
+++ b/libpostproc/Makefile	Fri Feb 04 03:29:50 2005 +0000
@@ -1,6 +1,8 @@
 
 include ../../config.mak
 
+VPATH=$(SRC_PATH)/libavcodec/libpostproc
+
 ifeq ($(SHARED_PP),yes)
 SPPLIB = $(SLIBPREF)postproc$(SLIBSUF)
 SPPVERSION = 0.0.1
@@ -18,7 +20,7 @@
 # .PHONY: all clean
 
 .c.o:
-	$(CC) -c $(CFLAGS) -I.. -I../.. -o $@ $<
+	$(CC) -c $(CFLAGS) -I$(SRC_PATH)/libavcodec -I../.. -o $@ $<
 
 all:    $(SWSLIB) $(PPLIB) $(SPPLIB)