# Select your audio output device. Current choices are: # # X11: The X11 window system. # Linux: IBM PC Console running Linux. # OSS: Open Sound System /dev/dsp device. # PA: PulseAudio using the pulse-simple client API. # ALSA: Advanced Linux Sound Architecture # # Running on Linux: # Many Linux laptops seem to have console speakers that are unreliable # for various hardware and software reasons. You may be better off # using morseALSA or morseOSS than morseLinux. # # Running on Mac OS X: # (1) Use X11. The user must, as with any X11 client, set the DISPLAY # variable, and have the X server running. Finally, the X11 output # preferences dialog should have "Use system alert effect" unchecked; # otherwise, the system alert (settable, but unlikely to be useful to # copy code in any event) will be used instead of the X beep. # # Adding a new device is as simple as creating a new implementation of the # beep.h interface. See beep*.c for examples. Please send any additions # to the authors! # # SPDX-FileCopyrightText: (C) Eric S. Raymond # SPDX-License-Identifier: BSD-2-Clause # #DEVICE = X11 #DEVICE = Linux #DEVICE = OSS DEVICE = ALSA #DEVICE = PA VERSION=$(shell sed -n MANIFEST @(cd ..; ln -s morse-classic morse-$(VERSION)) (cd ..; tar -czf morse-classic/morse-$(VERSION).tar.gz `cat morse-classic/MANIFEST`) @(cd ..; rm morse-$(VERSION)) dist: morse-$(VERSION).tar.gz cppcheck: cppcheck --quiet --template gcc --enable=all --suppress=missingIncludeSystem qso.d/*.[ch] cppcheck --quiet --template gcc --enable=all --suppress=missingIncludeSystem morse.d/*.[ch] release: morse-$(VERSION).tar.gz morse.html shipper version=$(VERSION) | sh -e -x refresh: morse.html shipper -N -w version=$(VERSION) | sh -e -x