Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
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
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.