On Tue, 2023-01-17 at 01:38 +0900, KO Myung-Hun wrote: > What I meant is checking the existence of a rule for a target not a > real file built for a target.
But how do you check for a "rule for a target"? What if the pattern rule is "%e" not "%.exe"? That will still match of course. Or "%xe" or whatever? Or even "%o.exe"? Are we going to check to find any possible pattern rule that might match a ".exe" and behave differently if we find one, even if it has nothing to do with actually creating a .exe file?