Do not calculate dependencies for header files in the .vhookdepend target.
Originally committed as revision 12422 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
2
Makefile
2
Makefile
@@ -227,7 +227,7 @@ depend dep: .depend .vhookdep
|
||||
|
||||
# gcc stupidly only outputs the basename of targets with -MM
|
||||
.vhookdep: $(ALLHOOKS_SRCS) version.h
|
||||
$(CC) $(VHOOKCFLAGS) -MM $^ | sed 's,^\([a-z]\),vhook/\1,' > $@
|
||||
$(CC) -MM $(VHOOKCFLAGS) $(filter-out %.h,$^) | sed 's,^\([a-z]\),vhook/\1,' > $@
|
||||
|
||||
$(DEP_LIBS): lib
|
||||
|
||||
|
Reference in New Issue
Block a user