A minimal example:
%.txt: foo.log # pass %.log: # pass
Run:
$ make a.txt --dry-run # pass # pass rm foo.log
Why is the last action rm foo.log? How can I get rid of it?
rm foo.log