One way is to use the -o option for all purposes that you do not want to redo:
-o FILE,
EDIT
I think you are reading the documentation for -B incorrectly; He says:
-B,
Please note that all goals are here; huge is definitely the goal, so if you use -B it will be redone.
However, I am also reading your question incorrectly. I thought you want to rebuild small without restoring huge , although huge is new, but you are trying to restore small even if huge not changed, right?
You definitely do not want to use -B . This option is not at all what you are looking for.
Usually people do this by removing small :
rm -f small make small
It might be useful to have a parameter that made this target recreate, but this option does not exist.
You can use -W huge , but again, this means that you need to know the name of the premise, not just the goal you want to create.
source share