I'd like to create a makefile rule to run astyle on any writable source files. Currently, I have a rule like the following:
style:
find . -perm -200 -regex ".*[.][CHch]p*" -exec astyle --suffix=none --style=ansi --convert-tabs "{}" \;
This rule basically works but doesn't seem to be the make way of doing things.