Menu

Fixed 12 excessive dependenies in Makefile.in reported by Vemake

Help
2019-07-29
2019-07-29
  • vemakereporter

    vemakereporter - 2019-07-29

    Hi Jesse,

    After fixing those missing dependencies, we also detected several redundant header dependencies due to this rule:

    $(OBJS): $(HEADERS) Makefile $(SRCS)

    This line causes all the objects to depend on all the sources and headers, which can cause unnecessary rebuilds of 12 targets and slow down the build process of the whole project.

    We have fixed these issues by using auto dependency generation:
    https://make.mad-scientist.net/papers/advanced-auto-dependency-generation/.

    The fixed Makefile.in is attached.

    Vemake

     
  • Jesse Smith

    Jesse Smith - 2019-07-29

    Thank you, I have applied the patch to Bftpd. It will appear in the next version.

     

Log in to post a comment.