OSDN Git Service

Make .vhookdep depend on version.h, same as .depend.
authorDiego Pettenò <flameeyes@gmail.com>
Wed, 16 Jan 2008 22:43:04 +0000 (22:43 +0000)
committerDiego Biurrun <diego@biurrun.de>
Wed, 16 Jan 2008 22:43:04 +0000 (22:43 +0000)
patch by Diego 'Flameeyes' Pettenò, flameeyes gmail com

Originally committed as revision 11543 to svn://svn.ffmpeg.org/ffmpeg/trunk

Makefile

index 747bdd5..16e52b8 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -240,7 +240,7 @@ endif
        $(CC) -MM $(CFLAGS) $(SDL_CFLAGS) $(filter-out %.h,$^) 1>.depend
 
 # gcc stupidly only outputs the basename of targets with -MM
-.vhookdep: $(ALLHOOKS_SRCS)
+.vhookdep: $(ALLHOOKS_SRCS) version.h
        $(CC) $(VHOOKCFLAGS) -MM $^ | sed 's,^\([a-z]\),vhook/\1,' > $@
 
 $(DEP_LIBS): lib