ref: 3a7b7c6a91debe8f0d2dd9fc427e7ba5012a2b6a
parent: bcf47ea4a19444e2af92cfd25994e169a5b80a63
author: Paul Brossier <piem@piem.org>
date: Sat Apr 30 00:30:55 EDT 2016
Makefile: do not fail if sox is not installed
--- a/Makefile
+++ b/Makefile
@@ -60,10 +60,10 @@
$(WAFCMD) --help
create_test_sounds:
- [ -z `which $(SOX)` ] && ( echo $(SOX) could not be found; false ) || true
- mkdir -p $(TESTSOUNDS)
- $(SOX) -r 44100 -n $(TESTSOUNDS)/44100Hz_1f_silence.wav synth 1s silence 0
- $(SOX) -r 8000 -n $(TESTSOUNDS)/8000Hz_30s_silence.wav synth 30 silence 0
- $(SOX) -r 32000 -n $(TESTSOUNDS)/32000Hz_127f_sine440.wav synth 127 sine 440
- $(SOX) -r 22050 -n $(TESTSOUNDS)/22050Hz_5s_brownnoise.wav synth 5 brownnoise
- $(SOX) -r 48000 -n $(TESTSOUNDS)/48000Hz_60s_sweep.wav synth 60 sine 200-24000
+ -[ -z `which $(SOX)` ] && ( echo $(SOX) could not be found) || true
+ -mkdir -p $(TESTSOUNDS)
+ -$(SOX) -r 44100 -n $(TESTSOUNDS)/44100Hz_1f_silence.wav synth 1s silence 0
+ -$(SOX) -r 8000 -n $(TESTSOUNDS)/8000Hz_30s_silence.wav synth 30 silence 0
+ -$(SOX) -r 32000 -n $(TESTSOUNDS)/32000Hz_127f_sine440.wav synth 127 sine 440
+ -$(SOX) -r 22050 -n $(TESTSOUNDS)/22050Hz_5s_brownnoise.wav synth 5 brownnoise
+ -$(SOX) -r 48000 -n $(TESTSOUNDS)/48000Hz_60s_sweep.wav synth 60 sine 200-24000