Plan 9 from Bell Labs’s /usr/web/sources/contrib/akumar/igo/gofs/mkfile

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


</$objtype/mkfile

CFLAGS=-FTw

TARG=gofs
BIN=$home/bin/$objtype

FILES=\
	gofs\

CFILES=${FILES:%=%.c}
OFILES=${FILES:%=%.$O}

HFILES=

all:V:		$O.out

install:V:	$BIN/$TARG

$BIN/$TARG:N: $O.out
	cp $prereq $BIN/$TARG

$O.out:N: $OFILES
	$LD $LDFLAGS -o $target $newprereq

%.$O:N:	$HFILES $CFILES
	$CC $CFLAGS $stem.c

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

nuke:V:
	rm -f *.[$OS] [$OS].out $BIN/$TARG

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.