[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Unportable makefile example in "Makefile Convention" section
From: |
Paul Smith |
Subject: |
Re: Unportable makefile example in "Makefile Convention" section |
Date: |
Mon, 06 May 2024 11:55:34 -0400 |
User-agent: |
Evolution 3.52.0 (by Flathub.org) |
On Mon, 2024-05-06 at 23:27 +0800, Kang-Che Sung wrote:
> So why is `$<` even suggested here in the example when it's
> unportable?
It's not the goal, or desire, of the GNU Make manual to use only
portable constructs in its examples. The GNU Make manual exists to
document using GNU Make and all its examples should work correctly with
GNU Make.
In some places in the GNU Make manual we do point out specific things
which may be non-portable, but that's just an informational courtesy
for the reader. Anyone who wants to actually write portable makefiles
and not use any non-portable features, would be better off following a
different document such as the POSIX specification for make, than using
the GNU Make manual.
Cheers!
--
Paul D. Smith <psmith@gnu.org> Find some GNU Make tips at:
https://www.gnu.org http://make.mad-scientist.net
"Please remain calm...I may be mad, but I am a professional." --Mad
Scientist
- Unportable makefile example in "Makefile Convention" section, Kang-Che Sung, 2024/05/06
- Re: Unportable makefile example in "Makefile Convention" section,
Paul Smith <=
- Re: Unportable makefile example in "Makefile Convention" section, Kang-Che Sung, 2024/05/06
- Re: Unportable makefile example in "Makefile Convention" section, Paul Smith, 2024/05/06
- Re: Unportable makefile example in "Makefile Convention" section, Alfred M. Szmidt, 2024/05/06
- Re: Unportable makefile example in "Makefile Convention" section, Paul Smith, 2024/05/09
- Re: Unportable makefile example in "Makefile Convention" section, Kang-Che Sung, 2024/05/09
- Re: Unportable makefile example in "Makefile Convention" section, Alfred M. Szmidt, 2024/05/09
- Re: what is autotools, what is gnulib, Bruno Haible, 2024/05/09
- Re: what is autotools, what is gnulib, Paul Smith, 2024/05/10