Makefile: Include dependencies for test tools, too
authorMartin Storsjö <martin@martin.st>
Wed, 20 Apr 2011 18:22:08 +0000 (21:22 +0300)
committerMartin Storsjö <martin@martin.st>
Wed, 20 Apr 2011 18:44:04 +0000 (21:44 +0300)
This makes seek_test to be rebuilt when its dependencies
has changed. The changes to the dependencies didn't usually matter
in practice, but the introduction of side data in AVPacket required
a recompilation.

Signed-off-by: Martin Storsjö <martin@martin.st>
Makefile

index 0bf04d1..f8e68d6 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -87,6 +87,7 @@ tools/%.o: tools/%.c
        $(CC) $(CPPFLAGS) $(CFLAGS) -c $(CC_O) $<
 
 -include $(wildcard tools/*.d)
+-include $(wildcard tests/*.d)
 
 ffplay.o: CFLAGS += $(SDL_CFLAGS)