summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 1983b1d..a03f079 100644
--- a/Makefile
+++ b/Makefile
@@ -26,3 +26,12 @@ load:
sudo rmmod kvm || true
sudo insmod $(KERNEL_SOURCE)/arch/x86/kvm/kvm.ko
sudo insmod $(KERNEL_SOURCE)/arch/x86/kvm/kvm-amd.ko
+
+read: read.c
+ $(CC) -o $@ $<
+
+test: load read
+ @./read
+
+update:
+ git -C $(KERNEL_SOURCE) diff > patch.diff