ref: 3b6c27419f736c2dfa3b2bf3d34dfe656832c464
parent: fb92431481665504f559f1c4308b4c28339db499
author: Mans Rullgard <mans@mansr.com>
date: Sat Aug 15 15:39:33 EDT 2020
build: do not build examples by default The examples serve no purpose in a typical build, so do not waste time compiling them.
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -131,7 +131,11 @@
EXTRA_DIST = monkey.wav optional-fmts.am \
tests.sh testall.sh tests.bat testall.bat test-comments
-all: sox$(EXEEXT) sox_sample_test$(EXEEXT) example0$(EXEEXT) example1$(EXEEXT) example2$(EXEEXT) example3$(EXEEXT) example4$(EXEEXT) example5$(EXEEXT) example6$(EXEEXT)
+all: sox$(EXEEXT)
+
+examples: example0$(EXEEXT) example1$(EXEEXT) example2$(EXEEXT) example3$(EXEEXT) example4$(EXEEXT) example5$(EXEEXT) example6$(EXEEXT)
+
+extras: examples sox_sample_test$(EXEEXT)
MAKELINKS = for n in $(SYMLINKS); do $(RM) $$n$(EXEEXT) && $(LN_S) sox$(EXEEXT) $$n$(EXEEXT); done