From 54d7a588017714f135a0a1181ab7b9bc92d24f53 Mon Sep 17 00:00:00 2001 From: Cyrill Gorcunov Date: Fri, 27 Jan 2012 18:41:09 +0400 Subject: [PATCH] make: Add 'help' target Signed-off-by: Cyrill Gorcunov Acked-by: Pavel Emelyanov --- Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Makefile b/Makefile index 31836d8a2..736ce10ed 100644 --- a/Makefile +++ b/Makefile @@ -171,6 +171,18 @@ cscope: $(Q) $(CSCOPE) -bkqu .PHONY: cscope +help: + $(E) ' Targets:' + $(E) ' all - Build all [*] targets' + $(E) ' * crtools - Build crtools' + $(E) ' zdtm - Build zdtm test-suite' + $(E) ' clean - Clean everything' + $(E) ' tags - Generate tags file (ctags)' + $(E) ' cscope - Generate cscope database' + $(E) ' rebuild - Force-rebuild of [*] targets' + $(E) ' test - Run zdtm test-suite' +.PHONY: help + ifeq ($(filter-out no-deps-targets, $(MAKECMDGOALS)),) -include $(DEPS) endif