Skip to contentSkip to conversation

Makefile: add help target

PATCH In review Stephen Hemminger 2 participants 2 messages Sep 21, 2018 – Sep 22, 2018

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Makefile: add help target

Add help target to Makefile.

---
 Makefile | 12 ++++++++++++
 1 file changed, 12 insertions(+)
Makefile +12 -0
index ea2f797c933f..25de3893cae4 100644
@@ -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)
 
Signature · 1 line
2.18.0