Trade-offs (continued)
Robustness v. Simplicity
- -I makes it easy to put headers in standard locations
- Wildcards make it trivial to add source files...
- …and easy to accidentally include view private files!
- viewpath can make it easy to keep object files together…
- …but why would you want to?!
- $PATH makes it easy to select tool version (e.g. compiler) at build time…
- …which is just as easy with a makefile variable!