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

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


BUILTINS=
</$objtype/mkfile
<../c++mkfile

install:V:	ld
	for(i in $LDS)
		 cp ld /$objtype/bin/c++/$i

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

#
# mk newmachine in .. adds an entry to machines
#
ld:	ldprog machines
	awk '$1!="@include" {print $0}
		$1=="@include" {while(getline <"machines" > 0) print $0}' ldprog > ld
clean:V:
	rm -f *.[$OS] [$OS].out y.tab.?

nuke:V: clean

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.