Home > OS >  The Makefile file to compile order problems
The Makefile file to compile order problems

Time:09-25



Modify the Make the inside of the file after order, the results are as follows:


My doubt is, I began to think that the role of the make similar script, which only increased the function of time updating contrast, other GCC command execution sequence is similar to a shell script, but if you press

According to this understanding, why only compile the main. C, other. Why not be compiled c file?

The Makefile file execution sequence has a strict requirements for writing?

CodePudding user response:

Brother help KK my question bai
I'm stuck in the makefile

CodePudding user response:

Just try do not have what problem, if CC is not defined, define the CC is good

Cc=GCC - c - Wall
  • Related