不用 写一个makefile就可以了
或者对文件一个一个编译 然后link的时候连接在一起就可以 了
比如a.c b.c c.c
gcc -c a.c
gcc -c b.c
gcc -c c.c
ld a.o+b.o+c.o
就可以了
Murphy's Law :
If there are two or more ways to do something, and one of those ways can result in a catastrophe, then someone will do it.