aboutsummaryrefslogtreecommitdiffhomepage
path: root/guest/Makefile
diff options
context:
space:
mode:
authorjohannst <johannes.stoelp@gmail.com>2021-05-26 00:21:06 +0200
committerjohannst <johannes.stoelp@gmail.com>2021-05-26 00:21:06 +0200
commit786a195f8e81d4f7c0af2a82b9d458361d424a71 (patch)
treec0df3de9a71e3ae1db1cdf4a59cde6d1accadf33 /guest/Makefile
downloadmini-kvm-rs-786a195f8e81d4f7c0af2a82b9d458361d424a71.tar.gz
mini-kvm-rs-786a195f8e81d4f7c0af2a82b9d458361d424a71.zip
minimal KVM abstraction + real mode guest example
Diffstat (limited to 'guest/Makefile')
-rw-r--r--guest/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/guest/Makefile b/guest/Makefile
new file mode 100644
index 0000000..e3f1e1b
--- /dev/null
+++ b/guest/Makefile
@@ -0,0 +1,8 @@
+guest16: guest.ld guest16.S
+ $(CC) $(CFLAGS) -m16 -o $@ -nostdlib -ffreestanding -Wpedantic -Wall -Wextra -Werror -T guest.ld guest16.S
+
+disasm: guest16
+ objdump -D -b binary -m i8086 -M intel $^
+
+clean:
+ $(RM) guest16