Nathan Skrzypczak | cbb4e46 | 2021-10-13 12:40:42 +0200 | [diff] [blame^] | 1 | CXXFLAGS:=-std=c++14 -Wextra -Wall -g -O2 |
| 2 | CXXFLAGS+= -Wno-unused-parameter |
| 3 | #CXXFLAGS+= -O0 |
| 4 | LDFLAGS:=-g |
| 5 | LDLIBS:=-lvapiclient |
| 6 | # Customize the lines below if VPP headers and libraries are in non-standard paths |
| 7 | #CXXFLAGS+= -I/your/vpp/build-root/install-vpp_debug-native/vpp/include |
| 8 | #LDFLAGS+= -Wl,-rpath,/your/vpp/build-root/install-vpp_debug-native/vpp/lib |
| 9 | #LDFLAGS+= -L/your/vpp/build-root/install-vpp_debug-native/vpp/lib |
| 10 | |
| 11 | all: api_example |
| 12 | |
| 13 | clean: |
| 14 | $(RM) api_example |
| 15 | |
| 16 | .PHONY: all clean |