Revision f63b6dc0

View differences:

Makefile
227 227

  
228 228
# gcc stupidly only outputs the basename of targets with -MM
229 229
.vhookdep: $(ALLHOOKS_SRCS) version.h
230
	$(CC) $(VHOOKCFLAGS) -MM $^ | sed 's,^\([a-z]\),vhook/\1,' > $@
230
	$(CC) -MM $(VHOOKCFLAGS) $(filter-out %.h,$^) | sed 's,^\([a-z]\),vhook/\1,' > $@
231 231

  
232 232
$(DEP_LIBS): lib
233 233

  

Also available in: Unified diff