Makefile

Santosh Bhushan
2 min readOct 28, 2020

In simple words it can be remembered as defining target along with dependencies in the 1st line and associated action in the 2nd line.

1st line — target: dependencies

2 nd line (Tab) — action

Make file can have several such target and actions.

Syntax :

[name of rule] : [list of other rules, separated by spaces] [list of source files, separated by spaces]

[TAB]command to…

--

--