Plan 9 from Bell Labs’s /usr/web/sources/contrib/yk/lab/rd-audio/mkfile

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


</$objtype/mkfile
<$PLAN9/src/mkhdr

TARG=rd
BIN=/$objtype/bin

HFILES=fns.h dat.h
OFILES=\
	alloc.$O\
	audio.$O\
	cap.$O\
	draw.$O\
	eclip.$O\
	efs.$O\
	egdi.$O\
	ele.$O\
	kbd.$O\
	rle.$O\
	load.$O\
	mcs.$O\
	mouse.$O\
	mpas.$O\
	mppc.$O\
	msg.$O\
	rd.$O\
	rpc.$O\
	tls.$O\
	utf16.$O\
	vchan.$O\
	wsys.$O\
	x224.$O\

THREADOFILES=${OFILES:rd.$O=rd-thread.$O}
CLEANFILES=$O.thread $O.test
TESTHFILES=audio.c
TESTOFILES=\
	efs_test.$O	efs.$O utf16.$O \
	aud_test.$O	

</sys/src/cmd/mkone
<$PLAN9/src/mkone

$TARG: mkfile

default:V: $O.thread
all:V: $O.thread
test:V: $O.test
	$O.test

$O.thread:	$THREADOFILES $LIB
	$LD $LDFLAGS -o $target $prereq

$TESTOFILES: $TESTHFILES
$O.test:	$TESTOFILES $LIB
	$LD $LDFLAGS -o $target $prereq

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].