Make .vhookdep depend on version.h, same as .depend.

patch by Diego 'Flameeyes' Pettenò, flameeyes gmail com

Originally committed as revision 11543 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Diego Pettenò 2008-01-16 22:43:04 +00:00 committed by Diego Biurrun
parent a85736f21d
commit fc900b7b65
1 changed files with 1 additions and 1 deletions

View File

@ -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