summaryrefslogtreecommitdiffstats
path: root/tools/vm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/vm/Makefile')
-rw-r--r--tools/vm/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/vm/Makefile b/tools/vm/Makefile
new file mode 100644
index 000000000000..8e30e5c40f8a
--- /dev/null
+++ b/tools/vm/Makefile
@@ -0,0 +1,11 @@
+# Makefile for vm tools
+
+CC = $(CROSS_COMPILE)gcc
+CFLAGS = -Wall -Wextra
+
+all: page-types slabinfo
+%: %.c
+ $(CC) $(CFLAGS) -o $@ $^
+
+clean:
+ $(RM) page-types slabinfo