<pre style='margin:0'>
Christopher Nielsen (mascguy) pushed a commit to branch master
in repository macports-legacy-support.
</pre>
<p><a href="https://github.com/macports/macports-legacy-support/commit/35ddfa836b25dfada43fc053b406bc57fbae47e9">https://github.com/macports/macports-legacy-support/commit/35ddfa836b25dfada43fc053b406bc57fbae47e9</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 35ddfa836b25dfada43fc053b406bc57fbae47e9
</span>Author: Fred Wright <fw@fwright.net>
AuthorDate: Wed Jan 22 13:30:11 2025 -0800
<span style='display:block; white-space:pre;color:#404040;'> Makefile: Add target for all test objects.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> This facilitates toolchain-related testing by making it convenient
</span><span style='display:block; white-space:pre;color:#404040;'> to separate compiling from linking. Similar targets were added
</span><span style='display:block; white-space:pre;color:#404040;'> earlier for the libraries.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> TESTING:
</span><span style='display:block; white-space:pre;color:#404040;'> Works as intended.
</span>---
Makefile | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/Makefile b/Makefile
</span><span style='display:block; white-space:pre;color:#808080;'>index 2744ec3..8d61047 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/Makefile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/Makefile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -315,6 +315,8 @@ $(MANTESTOBJS_CPP): %.o: %.cpp $(ALLHEADERS)
</span> $(MANTESTPRGS_CPP): %: %.o $(BUILDDLIBPATH)
$(CXX) $(TESTLDFLAGS) $< $(TESTLIBS) -o $@
<span style='display:block; white-space:pre;background:#e0ffe0;'>+alltestobjs: $(TESTOBJS_C) $(XTESTOBJS_C) $(MANTESTOBJS_C) $(MANLIBTESTOBJS_C)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> $(TIGERPRGS): %: %.c
$(CC) $$($(ARCHTOOL)) $< -o $@
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -517,5 +519,5 @@ clean: $(MANRUNPREFIX)clean test_clean
</span> .PHONY: install install-headers install-lib install-dlib install-slib
.PHONY: tiger-bins install-tiger
.PHONY: leopard-bins install-leopard
<span style='display:block; white-space:pre;background:#ffe0e0;'>-.PHONY: allobjs dlibobjs slibobjs syslibobjs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+.PHONY: allobjs dlibobjs slibobjs syslibobjs alltestobjs
</span> .PHONY: build_tests build_tests_static build_tests_syslib build_tests_all dummy
</pre><pre style='margin:0'>
</pre>