1# 2# Copyright 2018 Nest Labs Inc. All Rights Reserved. 3# 4# Licensed under the Apache License, Version 2.0 (the "License"); 5# you may not use this file except in compliance with the License. 6# You may obtain a copy of the License at 7# 8# http://www.apache.org/licenses/LICENSE-2.0 9# 10# Unless required by applicable law or agreed to in writing, software 11# distributed under the License is distributed on an "AS IS" BASIS, 12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13# See the License for the specific language governing permissions and 14# limitations under the License. 15# 16 17# 18# Description: 19# This file is the make "footer" or post make header for help-related 20# targets. 21# 22 23define PrintHelp 24$(NL_V_AT)echo "This makefile supports the following build targets:" 25$(NL_V_AT)echo 26$(NL_V_AT)echo " help" 27$(NL_V_AT)echo " Display this content." 28$(NL_V_AT)echo 29endef # PrintHelp 30 31.PHONY: help-local 32help-local: 33 $(call PrintHelp) 34 35.PHONY: help-hook 36help-hook: help-local 37 38.PHONY: help 39help: help-local help-hook 40