From 11152f0a0dbfbeb3130e23d8ab7179f3aac58706 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Fri, 21 Sep 2018 09:15:26 -0700 Subject: [PATCH] Makefile: add help target Add help target to Makefile Signed-off-by: Stephen Hemminger --- Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Makefile b/Makefile index ea2f797c..25de3893 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.39.5