Pass CFLAGS and CPPFLAGS when building make - sbase - suckless unix tools
HTML git clone git://git.suckless.org/sbase
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 35bad530f5318c4d256be192b17b09d8608b1404
DIR parent 23160db9e0b545cead16ac48f23dc31eff2f1b1b
HTML Author: Michael Forney <mforney@mforney.org>
Date: Tue, 17 Mar 2026 02:35:30 -0700
Pass CFLAGS and CPPFLAGS when building make
Diffstat:
M Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/Makefile b/Makefile
@@ -208,7 +208,7 @@ all: scripts/make
+@$(SMAKE) $(BIN)
scripts/make:
- $(CC) -o $@ make/*.c
+ $(CC) $(CPPFLAGS) $(CFLAGS) -o $@ make/*.c
$(BIN): $(LIB)