There are .c.h makefile writing methods

Note that the front of the command line is table
test: test.o fun.o
[table key]gcc -o test test.o fun.o
test.o: test.c
[table key]gcc -c test.c
fun.o: fun .c
[table key]gcc -c fun.c

Guess you like

Origin blog.csdn.net/qq_41834780/article/details/113767133