← Prev in month ← Prev in thread

[RFC PATCH 8/8] Makefile: add simple make automation with clean target

From
Alex BennÃe <>
Date
2020-03-27T10:38:27+00:00
ID
Thread
[RFC PATCH 8/8] Makefile: add simple make automation with clean target
This will remove all intermediate files in the checkout.
---
 Makefile | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 Makefile

diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..f11d871
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,17 @@
+# -*- Mode: makefile -*-
+#
+# Basic Makefile to aid automation of document building
+#
+
+.PHONY: help
+help:
+	@echo "Build the VIRTIO specification documents."
+	@echo ""
+	@echo "Possible operations are:"
+	@echo
+	@echo " $(MAKE) clean                Remove all intermediate files"
+
+
+.PHONY: clean
+clean:
+	@rm -f (git ls-files --others --exclude-standard)
-- 
2.20.1
← Prev in month ← Prev in thread