diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-02-01T15·41+0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-02-01T15·41+0100 |
commit | 2f9bb5c7e744ddca3fbe5576e520a3e80c106c55 (patch) | |
tree | 7a3d5d57a460aa87a8f8b58d46102ca339e97770 /mk/clean.mk | |
parent | c5ba08133370f98de722c978bda3b446721985de (diff) | |
parent | 6dca72006aa9b1cf2f226bb5b538e744fcab976f (diff) |
Merge branch 'make'
Diffstat (limited to 'mk/clean.mk')
-rw-r--r-- | mk/clean.mk | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mk/clean.mk b/mk/clean.mk new file mode 100644 index 000000000000..ce9afb3b0db7 --- /dev/null +++ b/mk/clean.mk @@ -0,0 +1,11 @@ +clean-files := + +clean: + $(suppress) rm -fv -- $(clean-files) + +dryclean: + @for i in $(clean-files); do if [ -e $$i ]; then echo $$i; fi; done | sort + +print-top-help += \ + echo " clean: Delete generated files"; \ + echo " dryclean: Show what files would be deleted by 'make clean'"; |