News for hackers. Stuff that matters.
Re:Self-Documented Makefile by terminalcommand on Tuesday March 01, 2016 @01:24AM (#11201079)
You could always alias make to the default you like. But if the newbie can't "make" it work, he/she gets frustrated.

I really wish dd had this type of caution. It would save me a lot of misery, preventing the loss of numerous drives.

Re:Self-Documented Makefile by marklgr on Tuesday March 01, 2016 @02:09AM (#11201198)
Not sure it's a good habit for newbies to run arbitrary commands to see what they do. Asking for help somewhere (eg. `--help` flag) looks like a much better practice
Re:Self-Documented Makefile by Someone on Tuesday March 01, 2016 @03:16AM (#11201403)
"You could always alias make to the default you like"

That breaks down when you work with multiple projects.

For example, try writing a script that downloads and builds a couple of projects. You would have to parse each makefile and hope you can discover the right target to build.

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.