|
COMP 2400 Software Tools
Goals: Understand how to automate
build and test tasks using Make
- Writing simple make
files
- Default rules: A rule like the
following is unnecessary.
- Card.o: Card.h Card.cc
g++ -c Card.cc
- Macros
- Dummy targets
Useful commands/tips:
- Though using the default rules,
you can avoid putting in the obvious compile commands, note that a
compile command is not issued if a .h file is changed. If you want
this dependency, it is better to explicitly state them without
depending on the default rules.
Useful Links:
Handouts:
Online Tutorial:
|