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
pull/126/head
James A. Morrison 20 years ago committed by Michael Niedermayer
parent 0bf796340a
commit 9a0a8d420d
  1. 4
      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)

Loading…
Cancel
Save