8d6
Empty Target Files to Record Events
The purpose of the empty target file is to record, with its last-modification
time, when the rule’s commands were last executed. It does so because one of
the commands is a
The empty target file must have some dependencies. When you ask to remake the
empty target, the commands are executed if any dependency is more recent than
the target; in other words, if a dependency has changed since the last time you
remade the target. Use the following as an example.
lpr -p $?
touch print