Makefile: include deps from tools directory
authorMans Rullgard <mans@mansr.com>
Sun, 20 Feb 2011 17:16:42 +0000 (17:16 +0000)
committerMans Rullgard <mans@mansr.com>
Sun, 20 Feb 2011 18:04:52 +0000 (18:04 +0000)
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>
Makefile

index 4ed003b..ad1f737 100644 (file)
--- 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