aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnders Roxell <anders.roxell@linaro.org>2016-09-08 19:15:25 +0200
committerAnders Roxell <anders.roxell@linaro.org>2016-09-08 19:15:25 +0200
commit15c107890cb2bbbb40dd912cb84d03524274e566 (patch)
tree46adc445973bdec36798979d52a0d63a9138533c
parent433c46eebf26c93e1a91744de8330d99752b83c0 (diff)
Makefile: add a default rule with help text
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
-rw-r--r--Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 6c6c31e..34b1acd 100644
--- a/Makefile
+++ b/Makefile
@@ -23,6 +23,19 @@ PROGRAM_LIST = \
l2fwd \
simple_timer
+default:
+ @echo "Make targets:"
+ @echo "all build examples"
+ @echo "clean remove derived files"
+ @echo ""
+ @echo "to build against a local odp installation set"
+ @echo "PKG_CONFIG_PATH=<local-odp-install-dir>/lib/pkgconfig"
+ @echo "set other ODPLIB_NAME for other implementations."
+ @echo "default: odp-linux"
+ @echo ""
+ @echo "make all"
+ @echo "make all ODPLIB_NAME=odp-dpdk"
+
all: $(PROGRAM_LIST)
clean: