| 991 | ****************************************************************************/ |
| 992 | |
| 993 | int main(int argc, char **argv, char **envp) |
| 994 | { |
| 995 | char *lasts; |
| 996 | char *files; |
| 997 | char *file; |
| 998 | |
| 999 | /* Parse command line parameters */ |
| 1000 | |
| 1001 | parse_args(argc, argv); |
| 1002 | |
| 1003 | /* Then generate dependencies for each path on the command line. NOTE |
| 1004 | * strtok_r will clobber the files list. But that is okay because we are |
| 1005 | * only going to traverse it once. |
| 1006 | */ |
| 1007 | |
| 1008 | files = g_files; |
| 1009 | while ((file = strtok_r(files, " ", &lasts)) != NULL) |
| 1010 | { |
| 1011 | /* Check if we need to do path conversions for a Windows-natvive tool |
| 1012 | * being using in a POSIX/Cygwin environment. |
| 1013 | */ |
| 1014 | |
| 1015 | do_dependency(file); |
| 1016 | files = NULL; |
| 1017 | } |
| 1018 | |
| 1019 | return EXIT_SUCCESS; |
| 1020 | } |
nothing calls this directly
no test coverage detected