Plan 9 from Bell Labs’s /usr/web/sources/plan9/sys/src/games/music/mkfile

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


dirs = playlistfs jukefs jukebox

DEFAULTMAP = /lib/audio/map
ICONPATH = /lib/audio/icon

ICONS = \
	next.bit\
	pause.bit\
	play.bit\
	prev.bit\
	question.bit\
	root.bit\
	skull.bit\
	stop.bit\
	trash.bit\

ICONFILES = ${ICONS:%.bit=icon/%.bit}

default:V: all

all dep clean nuke:V:
	for (i in $dirs) @ {
		echo $i
		cd $i
		mk $MKFLAGS $target
	}

rcinstall:V:	juke.rc
	cp juke.rc /rc/bin/juke
	chmod +x /rc/bin/juke

$ICONPATH:
	mkdir $ICONPATH

iconinstall:V:	$ICONFILES $ICONPATH
	for (i in $ICONS)
		cp $ICONFILES $ICONPATH

install:V:
	for (i in $dirs) @ {
		echo $i
		cd $i
		mk $MKFLAGS $target
	}
	mk rcinstall
	mk iconinstall

installall:V:
	for(objtype in $CPUS)
		mk $MKFLAGS install
	mk rcinstall

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].