Commit c9bf18a5 by Richard Stallman

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

From-SVN: r3078
parent 4396a7a4
...@@ -1692,6 +1692,11 @@ main (argc, argv) ...@@ -1692,6 +1692,11 @@ main (argc, argv)
&& p[len - 2] == 'c' && p[len - 2] == 'c'
&& p[len - 1] == 'c') && p[len - 1] == 'c')
deps_output (p, len - 3); 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') else if (p[len - 2] == '.' && p[len - 1] == 's')
deps_output (p, len - 2); deps_output (p, len - 2);
else if (p[len - 2] == '.' && p[len - 1] == 'S') else if (p[len - 2] == '.' && p[len - 1] == 'S')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment