[make] add a quick in dirty help target for the build system

make help: a quick overview of how to use the build system
make list: a list of all the buildable projects
This commit is contained in:
Travis Geiselbrecht
2016-01-30 14:41:36 -08:00
parent 09dbf477df
commit 84709d49f5
2 changed files with 57 additions and 1 deletions

View File

@@ -31,6 +31,9 @@ make-make:
endif
endif
# some additional rules to print some help
include make/help.mk
ifeq ($(do-nothing),)
ifeq ($(PROJECT),)
@@ -38,7 +41,7 @@ ifeq ($(PROJECT),)
ifneq ($(DEFAULT_PROJECT),)
PROJECT := $(DEFAULT_PROJECT)
else
$(error No project specified. Use "make projectname" or put "PROJECT := projectname" in local.mk)
$(error No project specified. Use 'make list' for a list of projects or 'make help' for additional help)
endif
endif