GNU Make

Ok. How do you get make to conditionally include a file, based on the calling arguments? I’m not sure that this can be done, but I’d love to be proven otherwise. I have a make file that builds a third party sub-project if it hasn’t been built. It does this by including the sub-project’s make file. The problem is that if the make file doesn’t exist, a rule gets triggered to create it, which is a laborious process involving untarring a huge tarball and running through a sort of autobuild.

Read More