Date: Thu, 5 Feb 2015 22:36:58 -0800 From: "Simon J. Gerraty" <sjg@juniper.net> To: Warner Losh <imp@bsdimp.com> Cc: "freebsd-arch@freebsd.org" <arch@freebsd.org> Subject: Re: Better way to do conditional inclusion in make Message-ID: <28404.1423204618@chaos> In-Reply-To: <6B52B39B-EC45-4723-99AE-71EFC917B9A0@bsdimp.com> References: <39C20BA1-E6B1-4DAE-95BB-8011A0A64D54@bsdimp.com> <54D40DC4.9070907@freebsd.org> <6819.1423185743@chaos> <6B52B39B-EC45-4723-99AE-71EFC917B9A0@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Warner Losh <imp@bsdimp.com> wrote: > [*] Consider having something like > .if ${MACHINE} !=3D =E2=80=9Ci386=E2=80=9D && ${MACHINE} !=3D =E2=80=9Cam= d64=E2=80=9D FWIW I started encouraging folk here to use the construct: .if ${MACHINE:Ni386:Namd64} =3D=3D "" # either .if ${MACHINE:Ni386:Namd64} !=3D "" # neither as it more easily extends to a long list while remaining readable
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?28404.1423204618>