-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support include directives #97
Comments
this is interesting. I think it would be easy(-ish) to make work with static includes (where the filename to include is given directly). Given for mkfile in $(find .config/make -type f -name '*.mak'); do checkmake ${mkfile} ; done |
Thanks, @mrtazz! That's more or less exactly what I did by adding this configuration to my MAKEFILE_CHECKMAKE_FILE_EXTENSIONS:
- .mak That said, unfortunately I may go down the route of looking into concatenating them together and piping them into checkmake <(for mkfile in $(find .config/make -type f -name '*.mak'); do cat ${mkfile}; done) (Don't quote me on the accuracy of that command... I haven't tested it) |
It seems that default
checkmake
does not followinclude
directives; it would be nice if it did to get a comprehensive review of distributed Makefile setups; for example:https://www.gnu.org/software/make/manual/html_node/Include.html
The text was updated successfully, but these errors were encountered: