What is 'makefile' in C langauage? How it be useful? How to write a makefile to a particular program?
Answer Posted / sarmistha pattanaik
When we write C program in modular pattern, then generally
it consists of 3 parts, .h file which will contain all the
header info, main.c will contain the main function and one
more .c file which will contain all the function
definitions. In order to compile the two.c file it will
create object file with .o extention. It's a multi step
process. In order to avoid the steps, we can write all the
compiling statements in one file which is the makefile.
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
Why malloc is faster than calloc?
How main function is called in c?
Is it acceptable to declare/define a variable in a c header?
What is string concatenation in c?
What is a example of a variable?
a sequence of bytes with one to one corrspondence to those in the external device a) sequential addressing b) address c) byte code d) none
What does volatile do?
Device an algorithm for weiler-atherton polygon clipping, where the clipping window can be any specified polygon
Explain what is the concatenation operator?
What is keyword with example?
What is union in c?
1234554321 1234 4321 123 321 12 21 1 1 12 21 123 321 1234 4321 1234554321
Why do we use null pointer?
Why is %d used in c?
What is a stream water?