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

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


</$objtype/mkfile

PORTDIRS=9sys 9syscall fmt port
DIRS=$PORTDIRS $CPUS
OLDCPUS=sparc

all install:V:
	for(i in $PORTDIRS $objtype)@{
		echo $i
		cd $i
		mk $MKFLAGS install
	}

clean:V:
	for(i in $DIRS)@{
		echo $i
		cd $i
		mk $MKFLAGS clean
	}

nuke:V:
	for(i in $PORTDIRS $objtype)@{
		echo $i
		cd $i
		mk $MKFLAGS nuke
	}
	# do not nuke other objtypes
	for(i in $CPUS)@{
		echo $i
		cd $i
		mk $MKFLAGS clean
	}

update:V:
	for(i in $DIRS)@{
		echo $i
		cd $i
		mk $MKFLAGS update
	}
	update $UPDATEFLAGS /386/lib/libc.a

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

everything:V:
	rm -f */*.[0245689kqv]
	for(objtype in $CPUS $OLDCPUS)@{
		echo $objtype
		mk $MKFLAGS install
	}
	rm -f */*.[0245689kqv]

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.