git: make(1): Refactor Makefile

Aaron LI aly at crater.dragonflybsd.org
Wed Jul 1 22:19:36 PDT 2026


commit f1f4b47ebd576a96662806e600da012ba96959c7
Author: Aaron LI <aly at aaronly.me>
Date:   Thu Jul 2 11:23:49 2026 +0800

    make(1): Refactor Makefile
    
    * Include ${srcdir}/VERSION for _MAKE_VERSION instead of hardcoding it.
    * Clean up CFLAGS; remove unused ones.
    * Move a few variables from CFLAGS to COPTS.main.c where they're only
      used.
    * Remove other obsolete COPTS.*.

Summary of changes:
 usr.bin/bmake/Makefile | 45 ++++++++++++++++++++-------------------------
 1 file changed, 20 insertions(+), 25 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f1f4b47ebd576a96662806e600da012ba96959c7


-- 
DragonFly BSD source repository


More information about the Commits mailing list