12 lines
293 B
Makefile
12 lines
293 B
Makefile
help:
|
|
echo "See Makefile"
|
|
|
|
image:
|
|
go run build.go --build
|
|
|
|
qemu: image
|
|
qemu-system-x86_64 -m 1G -drive file=tsapp.img,format=raw -boot d -netdev user,id=user.0 -device virtio-net-pci,netdev=user.0 -serial mon:stdio -audio none
|
|
|
|
qcow2: image
|
|
qemu-img convert -O qcow2 tsapp.img tsapp.qcow2
|