Posts

Showing posts from October, 2017
Hello friends!!! Hope you are doing well,Everything happens for a reason, Today I am going to tell you to create makefile. MAKEFILE:  It is a shell script that is used to submerge headerfiles in all program and compile all programs and make object file for all c program files through a target . In another word it simply make object file of  all c program files  that are using in a project.(integrate all C programs) Syntax: Target:Dependency                rules SubTarget: Dependency                rules      ex. Calci: add.o sub.o          gcc -o calci add.o sub.o add.o: add.c header.h declaration.h         gcc -c add.c sub.o: sub.c header.h declaration.h        gcc -c sub.c Hope you will understand the basic concept for makefile.Any doubt pleas...