Netdev List
 help / color / mirror / Atom feed
* [PATCH iproute2] Makefile: add help target
@ 2018-09-21 16:16 Stephen Hemminger
  2018-09-21 20:09 ` David Ahern
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Hemminger @ 2018-09-21 16:16 UTC (permalink / raw)
  To: netdev; +Cc: Stephen Hemminger

Add help target to Makefile.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 Makefile | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/Makefile b/Makefile
index ea2f797c933f..25de3893cae4 100644
--- a/Makefile
+++ b/Makefile
@@ -71,6 +71,18 @@ all: config.mk
 	for i in $(SUBDIRS); \
 	do echo; echo $$i; $(MAKE) $(MFLAGS) -C $$i; done
 
+help:
+	@echo "Make Targets:"
+	@echo " all                 - build binaries"
+	@echo " clean               - remove products of build"
+	@echo " distclean           - remove configuration and build"
+	@echo " install             - install binaries on local machine"
+	@echo " cscope              - build cscope database"
+	@echo " snapshot            - generate version number header"
+	@echo ""
+	@echo "Make Arguments:"
+	@echo " V=[0|1]             - set build verbosity level"
+
 config.mk:
 	sh configure $(KERNEL_INCLUDE)
 
-- 
2.18.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-09-22  2:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-21 16:16 [PATCH iproute2] Makefile: add help target Stephen Hemminger
2018-09-21 20:09 ` David Ahern

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox