Re:Ask HN: In what creative ways are you using Makefiles?
by dragonne on Monday July 24, 2017 @06:05PM
(#14843155)
You may appreciate https://github.com/Andy753421/mkinit though it is written in mk (from Plan 9) rather than Make.
It probably will require quite a few changes, but if the /proc file system exposed running processes by name, and contained a file for each port that something listened to, one _could_ run make on that 'directory' with a makefile that describes the dependencies between components of the system.
Useful? Unlikely, as the makefile would have to describe all hardware and their dependencies, and it is quite unlikely nowadays that that is even possible (although, come to think of it, a true hacker with too much time in hand and a bit of a masochistic tendencies could probably use autotools to creative use)