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 do we use int main?
List a few unconditional control statement in c.
Where are the auto variables stored?
What are the features of c language?
What type of function is main ()?
How do you redirect a standard stream?
What is c preprocessor mean?
How many bytes are occupied by near, far and huge pointers (dos)?
Are global variables static in c?
What does stand for?
What is a file descriptor in c?
What is the use of header files?
What is the difference between fread buffer() and fwrite buffer()?
How do you search data in a data file using random access method?
What is const volatile variable in c?