REDO-IFCHANGE(1) General Commands Manual REDO-IFCHANGE(1)

redo-ifchangerebuild target when its dependencies are out-of-date

redo-ifchange [file ...]

The redo-ifchange utility declares file as a dependency to the current target, and rebuild any dependency marked as out-of-date.

The redo-ifchange utility exits 0 on success, and >0 if an error occurs.

# main.do
redo-ifchange main.c
cc -o $3 $2.c

redo(1), redo-always(1), redo-ifcreate(1)

June 3, 2022