diff options
author | Diego Biurrun <diego@biurrun.de> | 2008-03-12 12:40:36 +0300 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2008-03-12 12:40:36 +0300 |
commit | 8df4da4eb37cb4e3589c88b866d6fcac469b5e8d (patch) | |
tree | f9b1827b2423b6212fa2f5411bf00dd5f71cdc25 /Makefile | |
parent | a04e32407d179e5ea42eee3ce58ac6ff8c859b72 (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-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |