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
This commit is contained in:
James A. Morrison 2005-02-04 03:29:50 +00:00 committed by Michael Niedermayer
parent 0bf796340a
commit 9a0a8d420d
1 changed files with 3 additions and 1 deletions

View File

@ -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)