Make uses topological sorting
TIL: Make does topological sorting of the target and its dependencies # Makefile d: a b c @echo 'd ' c: a b @echo -n 'c ' b: a @echo -n 'b ' a: @echo -n 'a ' $ make a b c d
TIL: Make does topological sorting of the target and its dependencies # Makefile d: a b c @echo 'd ' c: a b @echo -n 'c ' b: a @echo -n 'b ' a: @echo -n 'a ' $ make a b c d
TIL: in a Makefile command, use @ as a prefix to avoid printing the command line as it is executed
checkinstall tracks installation of local software, and produces a binary manageable with your package management software. Instead of sudo make install, you will use sudo checkinstall to install. This will automatically create a package files, which you can use to uninstall the files: sudo dpkg -r <packagename> https://help.ubuntu.com/community/CheckInstall