how to “execute” make file

You don’t tend to execute the make file itself, rather you execute make, giving it the make file as an argument: If your make file is actually one of the standard names (like makefile or Makefile), you don’t even need to specify it. It’ll be picked up by default (if you have more than one of these standard names … Read more

What are the differences between make clean, make clobber, make distclean, make mrproper and make realclean?

Trying to form my own answer based on some research. I think the approximate order of severity is; mostlyclean, clean, maintainer-clean, mrproper, distclean and finally clobber (which is combined distclean and uninstall). make clean make clean is the most basic level. It cleans up most generated files but not anything that records configuration. GNU Make … Read more

How to make a SIMPLE C++ Makefile

Since this is for Unix, the executables don’t have any extensions. One thing to note is that root-config is a utility which provides the right compilation and linking flags; and the right libraries for building applications against root. That’s just a detail related to the original audience for this document. Make Me Baby or You Never Forget … Read more