summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-02-20 17:16:42 +0000
committerMans Rullgard <mans@mansr.com>2011-02-20 18:04:52 +0000
commit08df7f866663f83ba42398cea9f3eeff4681ea9a (patch)
treef5a82113f586f83e7a96f69bc239bdd78a3d6043 /Makefile
parent1efa772e20be5869817b2370a557bb14e7ce2fff (diff)
Makefile: include deps from tools directory
This ensures the tools are rebuilt when necessary. Specifically, lavfi-showfiltfmts was sometimes not rebuilt causing spurious test failures. Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 4ed003b7a5..ad1f737ebb 100644
--- a/Makefile
+++ b/Makefile
@@ -92,6 +92,8 @@ tools/%$(EXESUF): tools/%.o
tools/%.o: tools/%.c
$(CC) $(CPPFLAGS) $(CFLAGS) -c $(CC_O) $<
+-include $(wildcard tools/*.d)
+
ffplay.o: CFLAGS += $(SDL_CFLAGS)
VERSION_SH = $(SRC_PATH_BARE)/version.sh