A simple example of Makefile for compiling and executing C/C++ programs
Description:
-
Make.common: This file contains common variables. Change main file name if its not same.
-
Makefile: Makefile for executing program.
-
header.h: Include required header files.
-
main.cpp: Main file.
-
Run $
make
in terminal for compiling and executing your program.