aboutsummaryrefslogtreecommitdiffhomepage
path: root/bootstrap.sh
diff options
context:
space:
mode:
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 8a2cd64..b193bbd 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=$(head -n 15 Makefile | grep -o '\([_A-Za-z0-9/]\)\+\.c')
+src=$(find src/ -name '*.c')
X() {
echo "> $@" | (test -n "$V" && cat || sed -s 's/\([^ ]\+\.c \?\)\{10\}$/.../')
$@