sdcc -c file-1.c                          -- just compile file-1.c to file-1.rel
sdcc -c file-2.c                          -- just compile file-2.c to file-2.rel
:

sdcc file-n.c file-1.rel file-2.rel ... -- compile file-1.c <b>and link with all the other objects</b>