`secret' .c support so automake's dependency style autodetection works

This is an imperfect revision of history.
This commit is contained in:
Bill Currie 2004-11-14 23:15:00 +00:00 committed by Jeff Teunissen
parent 96e20d891c
commit ae456dc3a4

View file

@ -591,7 +591,8 @@ separate_compile (void)
}
if (strncmp (*file, "-l", 2)
&& (!strcmp (extension->str, ".r")
|| !strcmp (extension->str, ".qc"))) {
|| !strcmp (extension->str, ".qc")
|| !strcmp (extension->str, ".c"))) {
if (options.verbosity >= 2)
printf ("%s %s\n", *file, output_file->str);
temp_files[i++] = save_string (output_file->str);