about summary refs log tree commit diff
path: root/clean.mk
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-01-09T15·12+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-01-09T15·12+0100
commit55c9a40613fefda6622aa9acd22cce4006fd1077 (patch)
treecd592d5836af42feeeca64ac3ebb77037b93a076 /clean.mk
parent259086de841d155f7951c2cc50f799a4631aa512 (diff)
Move stuff to top-level
This makes it easier to use with "git subtree".
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