From cbb4e460c481223282774b37add0bf9fb9e6170a Mon Sep 17 00:00:00 2001 From: Nathan Skrzypczak Date: Wed, 13 Oct 2021 12:40:42 +0200 Subject: docs: C & C++ apis examples Type: docs Change-Id: I5b6c388332bdd3a29777d728c3357816c8411ea2 Signed-off-by: Nathan Skrzypczak --- docs/interfacing/cpp/api_example/Makefile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 docs/interfacing/cpp/api_example/Makefile (limited to 'docs/interfacing/cpp/api_example/Makefile') diff --git a/docs/interfacing/cpp/api_example/Makefile b/docs/interfacing/cpp/api_example/Makefile new file mode 100644 index 00000000000..e9f44d3397d --- /dev/null +++ b/docs/interfacing/cpp/api_example/Makefile @@ -0,0 +1,16 @@ +CXXFLAGS:=-std=c++14 -Wextra -Wall -g -O2 +CXXFLAGS+= -Wno-unused-parameter +#CXXFLAGS+= -O0 +LDFLAGS:=-g +LDLIBS:=-lvapiclient +# Customize the lines below if VPP headers and libraries are in non-standard paths +#CXXFLAGS+= -I/your/vpp/build-root/install-vpp_debug-native/vpp/include +#LDFLAGS+= -Wl,-rpath,/your/vpp/build-root/install-vpp_debug-native/vpp/lib +#LDFLAGS+= -L/your/vpp/build-root/install-vpp_debug-native/vpp/lib + +all: api_example + +clean: + $(RM) api_example + +.PHONY: all clean -- cgit 1.2.3-korg