summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 1f0c886f72..d177c1a477 100644
--- a/Makefile
+++ b/Makefile
@@ -61,7 +61,7 @@ lib:
$(MAKE) -C libavcodec all
$(MAKE) -C libavformat all
-ffmpeg_g$(EXE): .depend ffmpeg.o $(DEP_LIBS)
+ffmpeg_g$(EXE): ffmpeg.o $(DEP_LIBS)
$(CC) $(LDFLAGS) -o $@ ffmpeg.o -L./libavcodec -L./libavformat \
-lavformat -lavcodec $(EXTRALIBS)
@@ -102,6 +102,11 @@ installlib:
dep: depend
depend: .depend
+ make -C libavcodec depend
+ make -C libavformat depend
+ifeq ($(BUILD_VHOOK),yes)
+ make -C vhook depend
+endif
.depend: $(SRCS)
$(CC) -MM $(CFLAGS) $^ 1>.depend