Date: Thu, 25 Apr 2024 19:52:40 +0100 From: Norman Gray <gray@nxg.name> To: Tomek CEDRO <tomek@cedro.info> Cc: FreeBSD Questions Mailing List <freebsd-questions@freebsd.org> Subject: Re: bsd sed / make vs bsd sed / make Message-ID: <3DBC8F99-C32B-4AEE-9EB4-99F4CA54DD27@nxg.name> In-Reply-To: <CAFYkXjnq7LB3mhnK4vtQ0p_YJfSU5OOCWgcF6sm64FTCN8gF8Q@mail.gmail.com> References: <CAFYkXjnq7LB3mhnK4vtQ0p_YJfSU5OOCWgcF6sm64FTCN8gF8Q@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Tomek, hello. On 25 Apr 2024, at 18:36, Tomek CEDRO wrote: > Is there an elegant way to > use BSD make here with no dramatic code modification? As Souji says, this is not easy in general. Resorting to galling gmake f= rom make wouldn't be pretty, but might be necessary. The core of GNU Make and pmake/bmake (ie, the FreeBSD version) are the sa= me, and it's not too hard to write a basic Makefile which will work with = both implementations. But as soon as you step beyond that core -- ie, as= soon as you need a non-basic Makefile -- the two go in different directi= ons, and are almost immediately thoroughly incompatible with each other. Best wishes, Norman -- = Norman Gray : https://nxg.me.uk
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DBC8F99-C32B-4AEE-9EB4-99F4CA54DD27>