From 397181df7c7372bdf4897296dabe386fa4212ea8 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Mon, 26 May 2025 23:30:28 -0400 Subject: build: Use $^ instead of ${.ALLSRC} --- build/prelude.mk | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'build/prelude.mk') diff --git a/build/prelude.mk b/build/prelude.mk index c25dea4..6250d73 100644 --- a/build/prelude.mk +++ b/build/prelude.mk @@ -9,11 +9,9 @@ # We don't use any suffix rules .SUFFIXES: -# GNU make has $^ for the full list of targets, while BSD make has $> and the -# long-form ${.ALLSRC}. We could write $^ $> to get them both, but that would -# break if one of them implemented support for the other. So instead, bring -# BSD's ${.ALLSRC} to GNU. -.ALLSRC ?= $^ +# GNU make has $^ for the full list of targets, while BSD make has $> (and the +# long-form ${.ALLSRC}). We use the GNU version, bringing it to BSD like this: +^ ?= $> # Installation paths DESTDIR ?= -- cgit v1.2.3