blob: ddea4e435105d57f6b9f6b12632d2e0fd215a790 [file] [log] [blame]
Joey Armstrongb085c502023-01-17 13:56:24 -05001# -*- makefile -*-
2# -----------------------------------------------------------------------
Joey Armstrong9cdee9f2024-01-03 04:56:14 -05003# Copyright 2022-2024 Open Networking Foundation (ONF) and the ONF Contributors
Joey Armstrongb085c502023-01-17 13:56:24 -05004#
5# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8#
9# http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
16# -----------------------------------------------------------------------
17
18## -----------------------------------------------------------------------
19## -----------------------------------------------------------------------
20.PHONY: help
21help ::
22 @echo "Usage: $(MAKE) [options] [target] ..."
23 @echo
24 @echo " build : Build the library"
25 @echo " mod-update : Update go.mod and the vendor directory"
26 @echo " test : Generate reports for all go tests"
27 @echo " local-protos : Local development target"
28ifdef VERBOSE
29 @echo " LOCAL_PROTOS="
30endif
31 @echo
32 @echo "[CLEAN]"
33 @echo " clean : Remove files created by the build"
34 @echo " distclean : Remove build and testing artifacts and reports"
35 @echo
36 @echo "[LINT]"
37 @echo " lint : Shorthand for lint-style & lint-sanity"
38 @echo " lint-mod : Verify the integrity of the 'mod' files"
39 @echo " sca : "
40
Joey Armstrong7f8436c2023-07-09 20:23:27 -040041 @echo
42 @echo " % $(MAKE) help-{topic} VERBOSE=1"
43 @echo " : Extended makefile target help"
44
Joey Armstrongb085c502023-01-17 13:56:24 -050045# [EOF]