OSDN Git Service

Fix 'make depend' for libpostproc.
authorDiego Biurrun <diego@biurrun.de>
Tue, 12 Sep 2006 10:33:27 +0000 (10:33 +0000)
committerDiego Biurrun <diego@biurrun.de>
Tue, 12 Sep 2006 10:33:27 +0000 (10:33 +0000)
Originally committed as revision 6238 to svn://svn.ffmpeg.org/ffmpeg/trunk

Makefile
libpostproc/Makefile

index dfa69aa..0b9a257 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -204,6 +204,9 @@ depend: .depend
        $(MAKE) -C libavutil   depend
        $(MAKE) -C libavcodec  depend
        $(MAKE) -C libavformat depend
+ifeq ($(CONFIG_PP),yes)
+       $(MAKE) -C libpostproc depend
+endif
 ifeq ($(BUILD_VHOOK),yes)
        $(MAKE) -C vhook       depend
 endif
index c7bbdc1..8f5c921 100644 (file)
@@ -20,6 +20,8 @@ CFLAGS  = -I.. -I$(SRC_PATH)/libavcodec $(OPTFLAGS)
 
 include $(SRC_PATH)/common.mak
 
+depend: postprocess.c
+
 ifeq ($(BUILD_SHARED),yes)
 postprocess_pic.o: postprocess.c
        $(CC) -c $(CFLAGS) -fomit-frame-pointer -fPIC -DPIC -o $@ $<