开发者

How can i print the compilation options on making several C files using GCC and make

I want to print my whole file compilation options on make in my console on build. For example on compiling test1.c test2.c test3.c using make

should print like

cc 开发者_如何学JAVA-g -O1 -Wall test1.c

cc -g -O1 -Wall test2.c

cc -g -O1 -Wall test3.c


make -n will show the commands make would execute without running them. Is that what you mean?


Use make -B -n to see all the build commands without actually building anything.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜