Very useful for organizing large programs, but complicates smaller ones. Reinforces best programming practices of modularizing, minimizing and recycling code.
Makefile Template
Makefile Template
# macro modifiers
<compiler name> = <compiler command>
<compiler flags name> = <list of compiler flags with arguments>
<variable name> = <list of files>
# macros with %controls, modifiers and tokens
<variable case ...>:
<modifiers> <list of files>
<output case>: <object files>
<modifiers> -o <program name>
<object case ...>: <list of dependencies>
<modifiers> <source file>
<command case>:
<command> <arguments> <list of files>
<clean case>:
<command> <arguments> <list of files>
Do you have a suggestion about how to improve this blog? Let's talk about it. Contact me at David.Brenner.Jr@Gmail.com or 720-584-5229.
Comments
Post a Comment
Comments to this blog will be reviewed within 72 hours. No trolling please