diff options
author | James A. Morrison <ja2morri@csclub.uwaterloo.ca> | 2005-02-04 03:29:50 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2005-02-04 03:29:50 +0000 |
commit | 9a0a8d420dced4ca856615e3685aadb3841aedaf (patch) | |
tree | 3b0bcaceeb735b74f858fe243c863d8cd27f88df | |
parent | 0bf796340a88612a5903693c29b252b416493f98 (diff) | |
download | ffmpeg-9a0a8d420dced4ca856615e3685aadb3841aedaf.tar.gz |
Build libpostproc out of source directory patch by (James A. Morrison >ja2morri csclub.uwaterloo ca>)
Originally committed as revision 3933 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/libpostproc/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/libpostproc/Makefile b/libavcodec/libpostproc/Makefile index e690122aa4..87a118a8ea 100644 --- a/libavcodec/libpostproc/Makefile +++ b/libavcodec/libpostproc/Makefile @@ -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 @@ CFLAGS = $(OPTFLAGS) $(MLIB_INC) -I. -I.. $(EXTRA_INC) # .PHONY: all clean .c.o: - $(CC) -c $(CFLAGS) -I.. -I../.. -o $@ $< + $(CC) -c $(CFLAGS) -I$(SRC_PATH)/libavcodec -I../.. -o $@ $< all: $(SWSLIB) $(PPLIB) $(SPPLIB) |