Fix for x86_64 build fail
[platform/upstream/connectedhomeip.git] / third_party / nlfaultinjection / repo / third_party / nlbuild-autotools / repo / make / post / rules / help.mak
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
23 define 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
29 endef # PrintHelp
30
31 .PHONY: help-local
32 help-local:
33         $(call PrintHelp)
34
35 .PHONY: help-hook
36 help-hook: help-local
37
38 .PHONY: help
39 help: help-local help-hook