branch: externals/company
commit ba6ad7e6713b5a054fe8bba04645a854b823c8b4
Author: YE <y...@ego.team>
Commit: YE <y...@ego.team>

    Add make help target
---
 Makefile | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 0549228..7dce400 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,11 @@
-EMACS=emacs
+EMACS = emacs
+ALL_TARGETS = help package clean test test-gui test-batch compile compile-warn
 
-.PHONY: package clean test test-gui test-batch compile compile-warn
+.PHONY: ${ALL_TARGETS}
+
+help:
+       @echo Targets:
+       @for t in ${ALL_TARGETS}; do echo "- "$$t; done
 
 package: *.el
        @ver=`grep -o "Version: .*" company.el | cut -c 10-`; \

Reply via email to