Francois Gouget fgouget@free.fr writes:
This is useful to generate dependencies for crossbuilds.
-o is traditionally used for the output file, so something like -x would probably be preferable. Also specifying multiple extensions by repeating the option (-xfoo -xbar instead of -xfoo:bar) is probably nicer, especially for usage in makefiles.