about summary refs log tree commit diff
path: root/clean.mk
diff options
context:
space:
mode:
Diffstat (limited to 'clean.mk')
-rw-r--r--clean.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/clean.mk b/clean.mk
new file mode 100644
index 000000000000..7dba76c5d910
--- /dev/null
+++ b/clean.mk
@@ -0,0 +1,7 @@
+clean_files :=
+
+clean:
+	$(QUIET) rm -fv -- $(clean_files)
+
+dryclean:
+	@for i in $(clean_files); do if [ -e $$i ]; then echo $$i; fi; done | sort