aboutsummaryrefslogtreecommitdiffhomepage
path: root/sysdeps/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/Makefile')
-rw-r--r--sysdeps/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/sysdeps/Makefile b/sysdeps/Makefile
new file mode 100644
index 0000000..092047e
--- /dev/null
+++ b/sysdeps/Makefile
@@ -0,0 +1,10 @@
+OUT ?= /dev/stdout
+
+gen: kvm
+ ./kvm > $(OUT)
+
+kvm: kvm.c
+ $(CC) $(CFLAGS) -Wpedantic -Wall -Wextra -Werror -o $@ $^
+
+clean:
+ $(RM) kvm