0% found this document useful (0 votes)
2 views

05-7-make

Uploaded by

JohnKevinStanley
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

05-7-make

Uploaded by

JohnKevinStanley
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

Advanced Programming in the

UNIX Environment
Week 05, Segment 7:
Unix Development Tools:
make(1)

Department of Computer Science


Stevens Institute of Technology

Jan Schaumann
[email protected]
https://stevens.netmeister.org/631/
CS631 - Advanced Programming in the UNIX Environment

make(1)
make(1) is a command generator and build utility. Using a description le (usually Make le) it creates
a sequence of commands for execution by the shell.

• used to sort out dependency relations among les


• avoids having to rebuild the entire project after modi cation of a single source le
• performs selective rebuilds following a dependency graph
• allows simpli cation of rules through use of macros and su xes, some of which are internally de ned
• di erent versions of make(1) (BSD make, GNU make, Sys V make, ...) may di er in e.g.:
• variable assignment and expansion/substitution
• including other les
• ow control (for-loops, conditionals etc.)

Jan Schaumann 2021-09-24


fl
ff
fi
fi
fi
fi
ffi
fi
ff
fi
fi
fi

You might also like