(main): Recognize and remove .cxx as filename suffix.

From-SVN: r3078
This commit is contained in:
Richard Stallman 1993-01-04 01:38:18 +00:00
parent 4396a7a423
commit c9bf18a52a
1 changed files with 5 additions and 0 deletions

View File

@ -1692,6 +1692,11 @@ main (argc, argv)
&& p[len - 2] == 'c'
&& p[len - 1] == 'c')
deps_output (p, len - 3);
else if (p[len - 4] == '.'
&& p[len - 3] == 'c'
&& p[len - 2] == 'x'
&& p[len - 1] == 'x')
deps_output (p, len - 4);
else if (p[len - 2] == '.' && p[len - 1] == 's')
deps_output (p, len - 2);
else if (p[len - 2] == '.' && p[len - 1] == 'S')