Im trying to make some small shared libs.

One of my C files needs 2 others, so i want to compile these 3 into a object file.

Heres what i get:
gcc -o str_move.o -c str_move.c str_remove.c str_insert.c
gcc: cannot specify -o with -c or -S and multiple compilations
make: *** [str_move.o] Error 1
What wrong? What should i do?

Thanks