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

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


</$objtype/mkfile

TARG=vl
OFILES=\
	asm.$O\
	list.$O\
	noop.$O\
	sched.$O\
	obj.$O\
	optab.$O\
	pass.$O\
	span.$O\
	enam.$O\
	compat.$O\
	elf.$O\

HFILES=\
	l.h\
	../vc/v.out.h\
	../8l/elf.h\

BIN=/$objtype/bin
CFLAGS=$CFLAGS -. -I.
</sys/src/cmd/mkone

enam.$O:	../vc/enam.c
	$CC $CFLAGS ../vc/enam.c
elf.$O:	../8l/elf.c
	$CC $CFLAGS ../8l/elf.c

x:V:	$O.out
	$O.out -la -o/dev/null x.v

test:V:	$O.out
	rm -f xxx
	mv $O.out xxx
	./xxx $OFILES
	cmp $O.out xxx

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