pcc: accept .o file extension

front
cinap_lenrek 2012-04-14 13:22:36 +02:00
parent fa49f7e3ff
commit a77fbb8209
1 changed files with 1 additions and 0 deletions

View File

@ -133,6 +133,7 @@ main(int argc, char *argv[])
append(&srcs, s);
append(&objs, changeext(s, ot->o));
} else if(strcmp(suf, ot->o) == 0 ||
strcmp(suf, "o") == 0 ||
strcmp(suf, "a") == 0 ||
(suf[0] == 'a' && strcmp(suf+1, ot->o) == 0)) {
append(&objs, s);