Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Windows: force use of .exe extension. #2329
RDW notes. I'd suggest that $(MT) and $(RC) would be a better way to go. Also see #2326
This comment has been minimized.
This comment has been minimized.Show comment Hide comment
My suggestion would be to put
At the top of the makefile.
I think that the threat model here (based on the desire for "call" in another case). Is when someone hijacks your path and puts "mt.bat" or "rc.bat" in front of it. Of course in that case specifying .exe doesn't help, but having this stuff all macro'd away allows one to do things like
Ok landed in 5fb70ea. Thanks
Thank you for the suggestion but actually this is a windows specific makefile so we don't have to worry about exeext.