3

If I have a makefile I have to use that is using recursive make, is there an easy option to disable that?

http://aegis.sourceforge.net/auug97.pdf

1
  • I think this question should better asked at Stack Overflow. Commented Jul 30, 2015 at 4:41

1 Answer 1

5

No. If you invoke make even once in Makefile, it would be called a recursive make. There's no easy option in GNU Make to prevent it.

Once you read the paper mentioned in your post, you could understand it's determined by how you write Makefiles whether the make is recursive or non-recursive.

Linux kernel build system would be one of the most famous applications of traditional recursive make in large scale. Android build system is a good example of non-recursive make, which is explicitly addressing problems of recursive make. Both build systems are exploiting GNU Make specific features intensively.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.