Is it possible to extend the built-in dependency tracking?
Tomas Volf <[email protected]> Fri, 18 Jul 2025 17:24:31 +0200
| Newsgroups | gmane.comp.sysutils.automake.general |
|---|---|
| Message-ID | <[email protected]> |
Hello, I am looking into how to add a dependency tracking into the build process of my project. The project is written in GNU Guile, so it does not track them out of the box. GNU Automake has a feature to track dependencies -- described in (automake)Dependencies -- however I did not manage to find any documentation on whether it is possible to add user provided tooling for new languages. The best I have managed to find is (make)Automatic Prerequisites. I will try to use it, however I wonder whether there is some way to configure Automake to handle most of that for me (assuming I provide a script to generate the dependency files). Connected question, can I use the $(DEPDIR) macro in my rules and expect it to keep working, or -- since it is not documented -- it could be removed in some future release? Thank you and have a nice day, Tomas Volf -- There are only two hard things in Computer Science: cache invalidation, naming things and off-by-one errors.