cplay

annotate Makefile @ 2:c7d8ec7da73b

Add mplayer as a backend player Plus: exchange PCM and Master mixer.
author markus schnalke <meillo@marmaro.de>
date Thu, 27 Jul 2017 07:08:00 +0200
parents
children
rev   line source
meillo@0 1 PREFIX = /usr/local
meillo@0 2 ENV = PREFIX=$(PREFIX)
meillo@0 3
meillo@0 4 SUBDIRS = po
meillo@0 5
meillo@0 6 all: recursive-all
meillo@0 7
meillo@0 8 install: recursive-install
meillo@0 9 install -c -m 755 cplay $(PREFIX)/bin
meillo@0 10 install -c -m 644 cplay.1 $(PREFIX)/man/man1
meillo@0 11
meillo@0 12 clean: recursive-clean
meillo@0 13
meillo@0 14 recursive-all recursive-install recursive-clean:
meillo@0 15 @target=$@; \
meillo@0 16 for i in $(SUBDIRS); do \
meillo@0 17 (cd $$i && make $(ENV) $${target#recursive-}); \
meillo@0 18 done
meillo@0 19
meillo@0 20 cplayrc: cplay
meillo@0 21 awk '/^PLAYERS/ {p=1} /^$$/ {p=0} {if (p==1) {print}}' cplay > cplayrc