You could just create and link with an additional C file/object that provides stubs for the non-existent functions your other C files are importing, e.g.int temp(void) { return 0; }int temp2(void) { return 0; }int temp3(void) { return 0; }hths.
int temp(void) { return 0; }int temp2(void) { return 0; }int temp3(void) { return 0; }