aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bootstrap.gmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/bootstrap.gmake b/bootstrap.gmake
index d20137c..2aac8fc 100644
--- a/bootstrap.gmake
+++ b/bootstrap.gmake
@@ -146,6 +146,11 @@ build2_src := $(wildcard $(src_root)/build2/*.cxx)
build2_src += $(foreach d,$(sub_dirs),$(wildcard $(src_root)/build2/$d/*.cxx))
libbutl_src := $(wildcard $(libbutl)/libbutl/*.cxx)
+# Filter out *.test.cxx sources.
+#
+build2_src := $(filter-out %.test.cxx,$(build2_src))
+libbutl_src := $(filter-out %.test.cxx,$(libbutl_src))
+
# Note that we use the .b.o object file extension to avoid clashing with the
# build2 builds.
#