![]() Makefile is a set of commands (similar to terminal commands) with variable names and targets to create object file and to remove them. Suppose, we have 3 files main.c (main source file), misc.c (source file that contains function definition), misc.h (that contain function declaration). You can compile your project (program) any number of times by using Makefile. In a single make file we can create multiple targets to compile and to remove object, binary files. How to create Makefile for C program compilation? a Makefile however is a very clever bit of scripting (in it’s own language to all extents) that compiles an accompanying set of source code into a program. ![]() Put a command in a file and it is a shell script.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |