Template
16 lines
602 B
Makefile
16 lines
602 B
Makefile
# Top-level Makefile.am: recursion into src/ plus the test harness.
|
|
# `make check` runs tests/run.sh through automake's parallel test harness
|
|
# (genuinely executed - the harness propagates the script's exit code).
|
|
|
|
SUBDIRS = src
|
|
|
|
TESTS = tests/run.sh
|
|
EXTRA_DIST = tests/run.sh scripts/build-static.sh
|
|
|
|
# Fully-static musl build (explicit opt-in; the default build stays dynamic).
|
|
# Requires a musl toolchain on the host - see scripts/build-static.sh for
|
|
# the probe order (musl-gcc -> musl-clang -> clang+sysroot -> apt -> musl.cc).
|
|
.PHONY: static
|
|
static:
|
|
$(SHELL) "$(srcdir)/scripts/build-static.sh"
|