cplay

view 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
line source
1 PREFIX = /usr/local
2 ENV = PREFIX=$(PREFIX)
4 SUBDIRS = po
6 all: recursive-all
8 install: recursive-install
9 install -c -m 755 cplay $(PREFIX)/bin
10 install -c -m 644 cplay.1 $(PREFIX)/man/man1
12 clean: recursive-clean
14 recursive-all recursive-install recursive-clean:
15 @target=$@; \
16 for i in $(SUBDIRS); do \
17 (cd $$i && make $(ENV) $${target#recursive-}); \
18 done
20 cplayrc: cplay
21 awk '/^PLAYERS/ {p=1} /^$$/ {p=0} {if (p==1) {print}}' cplay > cplayrc