[hackers] [sbase] build: Default to $(MAKE) || Roberto E. Vargas Caballero

From: <git_AT_suckless.org>
Date: Tue, 14 Oct 2025 16:21:59 +0200 (CEST)

commit 9aeab2a47c0e3cdd9f7786042eb6284b47a8b390
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.net>
AuthorDate: Tue Oct 14 16:19:04 2025 +0200
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.net>
CommitDate: Tue Oct 14 16:19:04 2025 +0200

    build: Default to $(MAKE)
    
    GNU make passes some non standard options in MAKEFLAGS and using
    sbase make in the sub make generates some problems with some use
    cases. This commits changes the default config.mk to use the variable
    $(MAKE) for SMAKE, making still possible to use sbase make modifying
    the local config.mk.

diff --git a/config.mk b/config.mk
index 067f1c6..1787305 100644
--- a/config.mk
+++ b/config.mk
_AT_@ -9,7 +9,7 @@ MANPREFIX = $(PREFIX)/share/man
 #CC =
 #AR =
 RANLIB = ranlib
-SMAKE = scripts/make
+SMAKE = $(MAKE)
 
 # -lrt might be needed on some systems
 # CFLAGS =
Received on Tue Oct 14 2025 - 16:21:59 CEST

This archive was generated by hypermail 2.3.0 : Tue Oct 14 2025 - 16:24:39 CEST