shithub: riscv

ref: 97a2f14b1c7960713ba2f7b284a6055cda8e101e
dir: /sys/src/cmd/vmx/mkfile/

View raw version
objtype=`{~ $objtype (386 amd64) && echo $objtype || echo 386}
</$objtype/mkfile

BIN=/$objtype/bin
TARG=vmx
HFILES=dat.h fns.h
OFILES=\
	vmx.$O \
	ksetup.$O \
	exith.$O \
	io.$O \
	ide.$O \
	vga.$O \
	pci.$O \
	virtio.$O \
	vesa.$O \
	9p.$O \
	x86.$O \

</sys/src/cmd/mkone

install:V:	$BIN/vmxgdb

$BIN/vmxgdb: $O.vmxgdb
	cp $prereq $BIN/vmxgdb

$O.vmxgdb: vmxgdb.$O
	$LD $LDFLAGS -o $target $prereq