Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2008-03-12 12:40:36 +0300
committerDiego Biurrun <diego@biurrun.de>2008-03-12 12:40:36 +0300
commit8df4da4eb37cb4e3589c88b866d6fcac469b5e8d (patch)
treef9b1827b2423b6212fa2f5411bf00dd5f71cdc25 /Makefile
parenta04e32407d179e5ea42eee3ce58ac6ff8c859b72 (diff)
Use $^ without header files instead of $(SRCS) to reference the dependencies
of the .depend target. $^ apparently includes the full path to files found in a vpath directory, $(SRCS) does not. This makes out of tree builds fail. Originally committed as revision 12421 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5b5decf74a..686b6b048c 100644
--- a/Makefile
+++ b/Makefile
@@ -223,7 +223,7 @@ depend dep: .depend .vhookdep
$(MAKE-$(CONFIG_AVFILTER)) -C libavfilter depend
.depend: $(SRCS) version.h
- $(CC) -MM $(CFLAGS) $(SRCS) > $@
+ $(CC) -MM $(CFLAGS) $(filter-out %.h,$^) > $@
# gcc stupidly only outputs the basename of targets with -MM
.vhookdep: $(ALLHOOKS_SRCS) version.h