What is Makefile and how do you use it?

Daniel William

New member
What is Makefile and how do you use it?
Answer
An Introduction to Makefiles
  • You need a file called a makefile to tell make what to do.
  • A target is usually the name of a file that is generated by a program; examples of targets are executable or object files.
  • A prerequisite is a file that is used as input to create the target.
  • A command is an action that make carries out.
 

Tìm kiếm

Back
Top