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
How old is c programming language?
What are the advantages and disadvantages of c language?
What is the difference between %d and %i?
What are c header files?
What is an operator?
What is the difference between c and python?
Write a function which takes as parameters one regular expression(only ? and * are the special characters) and a string and returns whether the string matched the regular expression.
Compare interpreters and compilers.
Is array a primitive data type in c?
What is c mainly used for?
i have to apply for the rbi for the post of officers. i need to know abt the entrance questions whether it may be aps or techinical....
How would you use the functions fseek(), freed(), fwrite() and ftell()?
How can I call system when parameters (filenames, etc.) Of the executed command arent known until run time?
Is int a keyword in c?
What type of function is main ()?