Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

"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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: