News for hackers. Stuff that matters.
Re:Self-Documented Makefile by lisivka on Tuesday March 01, 2016 @07:30AM (#11202170)
"all" is the default target to build in GNU autotools projects.

    make all && sudo make install
"all" is also recommended default target in GNU make documentation:

Phony targets can have prerequisites. When one directory contains multiple programs, it is most convenient to describe all of the programs in one makefile ./Makefile. Since the target remade by default will be the first one in the makefile, it is common to make this a phony target named ‘all’ and give it, as prerequisites, all the individual programs.

There are no comments on this comment yet.