Makefile减少依赖文件编译

Makefile减少依赖文件编译 %.o:%.c makefile all:test1.o test2.o test3.o gcc *.o -o elf echo "sucess!!" %.o:%.c gcc -c $^ -o $@ CL: rm -rf *.o elf test1 #include
posted @ 2023-12-11 21:57  西北小蚂蚁  阅读(8)  评论(0编辑  收藏  举报