• make: Look for BSDmakefile's

    From andrew.pennebaker@gmail.com@21:1/5 to All on Sat Mar 31 08:52:26 2018
    Could NetBSD's make start looking for BSDmakefile's, to match how other BSD's like OpenBSD behave? This would help projects be more portable across BSD's and beyond. This would also help disambiguate GNUmakefile's vs. BSDmakefile's vs. pure POSIX
    Makefile's. I think most projects unfortunately use "Makefile", which is syntax-ambiguous and breaks easily.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Sehnsucht@21:1/5 to andrew.p...@gmail.com on Thu Aug 30 02:32:35 2018
    On Saturday, March 31, 2018 at 5:52:27 PM UTC+2, andrew.p...@gmail.com wrote:
    Could NetBSD's make start looking for BSDmakefile's, to match how other BSD's like OpenBSD behave? This would help projects be more portable across BSD's and beyond. This would also help disambiguate GNUmakefile's vs. BSDmakefile's vs. pure POSIX
    Makefile's. I think most projects unfortunately use "Makefile", which is syntax-ambiguous and breaks easily.

    BSDmakefile/Makefile distinction has been removed from OpenBSD too since 6.x, see https://www.mail-archive.com/source-changes@openbsd.org/msg54858.html; and the up to date make(1) #Description:
    "...By default, the file makefile is used; if no such file is found, it tries Makefile. If neither of these exist, make can still rely on a set of built-in system rules. "

    For an explanation of why the BSD nomenclature is to discourage see http://openbsd-archive.7691.n7.nabble.com/make-does-try-BSDmakefile-anymore-td258386.html#a258388

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)