Makefile文件 gcc -o test2.exe test.c a.c #a.o: a.c gcc -c a.c -o a.o #main.o: test.c gcc -c test.c -o main.o #main: main.o a.o gcc -o test.exe main.o a.o #clean: rm *.o #run ./test2.exe #./test.exe