I am a newbie to Android makefiles. While reading this file I see a "-include" statement.
What does this actually mean to the build system?
The include
simply means that another makefile should be included. The -
means that if the file to include doesn't exist it will simply be ignored:
We can also put a minus sign
-
in front ofinclude
(with no space in-between) to ignore filenames that do not exist. For example:
-include makefile1 makefile2 makefile3
If makefile2 does not exist, then make will skip it, and no error will occur. In general, inserting a minus sign in front of any command tells make to ignore errors that might occur during the execution of that command.
(source)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With