Se você quiser apenas alguns destinos (e sempre), você pode usar o !
em vez de :
, verifique:
target! source
touch target
Se você tentar make target
, o touch target
será executado, mesmo se target
for mais recente que source
.
Verifique o homem make :
FILE DEPENDENCY SPECIFICATIONS Dependency lines consist of one or more targets, an operator, and zero or more sources. This creates a relationship where the targets ''depend'' on the sources and are usually created from them. The exact relationship between the target and the source is determined by the operator that sep- arates them. The three operators are as follows: ... ! Targets are always re-created, but not until all sources have been examined and re-created as necessary. Sources for a target accumu- late over dependency lines when this operator is used. The target is removed if make is interrupted.