Re: mingw32-make does not set $(RM) to "del"
Yongwei Wu <[email protected]> Tue, 8 Jan 2013 13:20:53 +0800
| Newsgroups | gmane.comp.gnu.make.windows |
|---|---|
| Message-ID | <CADs46if1ha84XTEf6mCzhLcDHiOYH1pfT755MaN16V-C1N7G-A@mail.gmail.com> |
On 8 January 2013 00:00, Eli Zaretskii <[email protected]> wrote: >> Date: Mon, 7 Jan 2013 19:48:59 +0800 >> From: Yongwei Wu <[email protected]> >> Cc: [email protected] >> >> On 6 January 2013 11:51, Eli Zaretskii <[email protected]> wrote: >> >> Date: Sun, 6 Jan 2013 08:27:37 +0800 >> >> From: Yongwei Wu <[email protected]> >> >> Cc: [email protected] >> >> >> >> undefining $(RM) will break certain makefiles >> > >> > Can you show them and point to projects that use them? >> >> No, I do not know popular projects that do this (they use more formal >> methods). I do use $(RM) this way (in personal and proprietary >> projects) to minimize the Makefile difference between Unix and Windows >> platforms. >> >> For a personal project, you can check: >> >> https://github.com/adah1972/libunibreak/blob/master/src/Makefile.gcc >> >> Maybe it is just informal, or even foolish. I doubt I am the only one >> doing this. > > But if Sed, cat, head, and even rm are called by their literal names, > as in that project of yours, then why is it important to be able to > use $(RM) instead of "rm"? I did not claim it. I can easily "fix" the Makefile too. My main point has always been that undefining RM does not bring real benefits. -- Wu Yongwei URL: http://wyw.dcweb.cn/