aboutsummaryrefslogtreecommitdiffhomepage
path: root/bootstrap.sh
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2026-03-15 00:51:18 +0100
committerlemon <lsof@mailbox.org>2026-03-15 11:46:25 +0100
commitb4caa5393f7a8ac5505c2892b85beb061196b78e (patch)
tree52d143d0104ef08eb7816a68a3a7ae36f1d97d07 /bootstrap.sh
parenteb9538f7a647e0b3686edc967d932acb817d46d3 (diff)
build system: use custom depgen instead of gcc
Diffstat (limited to 'bootstrap.sh')
-rwxr-xr-xbootstrap.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bootstrap.sh b/bootstrap.sh
index b2f3fa9..8a2cd64 100755
--- a/bootstrap.sh
+++ b/bootstrap.sh
@@ -12,7 +12,7 @@ test -n "$cflags" || : ${cflags:="-std=c11"}
if test -n "$V"; then
opt="$opt -v"
fi
-src=$(grep -o '\([_A-Za-z0-9/]\)\+\.c' < Makefile)
+src=$(head -n 15 Makefile | grep -o '\([_A-Za-z0-9/]\)\+\.c')
X() {
echo "> $@" | (test -n "$V" && cat || sed -s 's/\([^ ]\+\.c \?\)\{10\}$/.../')
$@