Plan 9 from Bell Labs’s /usr/web/sources/contrib/steve/root/sys/src/c++/lib/task/sparc/mkfile

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


BUILTINS=
NPROC=3
</$objtype/mkfile

c = frame.c
s = label.s
o = ${c:%.c=%.$O} ${s:%.s=%.$O}
l = ../libtask.a
lo= ${o:%=$l(%)}

%.$O:	%.c
	c++/$CC -I. -I.. $stem.c
%.$O:	../task.h label.h

%.$O:	%.s
	$AS $stem.s

lib:V:	$l
$l(%.$O):N:	%.$O
$l:	$lo
	names=`{membername $newprereq}
	ar vu $target $names
	rm $names

install:V: $o
	ar vu /$objtype/lib/c++/libtask.a $o
	cp label.h /$objtype/include/c++

clean:V:
	rm -f *.[$OS] [$OS].out y.tab.?

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