aboutsummaryrefslogtreecommitdiffstats
path: root/docs/interfacing/cpp/api_example/Makefile
blob: e9f44d3397d062312da8f296955c5c9afe1a169b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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