summaryrefslogtreecommitdiffstats
path: root/vnfs/VESreporting_vLB5.0/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'vnfs/VESreporting_vLB5.0/Makefile')
-rw-r--r--vnfs/VESreporting_vLB5.0/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/vnfs/VESreporting_vLB5.0/Makefile b/vnfs/VESreporting_vLB5.0/Makefile
index f5a4da9e..a9eb05e1 100644
--- a/vnfs/VESreporting_vLB5.0/Makefile
+++ b/vnfs/VESreporting_vLB5.0/Makefile
@@ -1,4 +1,3 @@
-
#############################################################################
#
# Copyright © 2017 AT&T Intellectual Property. All rights reserved.
@@ -17,6 +16,7 @@
#############################################################################
CC=gcc
+
ARCH=$(shell getconf LONG_BIT)
CODE_ROOT=$(CURDIR)/../..
LIBS_DIR=$(CODE_ROOT)/libs/x86_$(ARCH)
@@ -37,4 +37,10 @@ vpp_measurement_reporter: vpp_measurement_reporter.c
$(CC) $(CPPFLAGS) $(CFLAGS) -o vpp_measurement_reporter \
-L $(LIBS_DIR) \
-I $(INCLUDE_DIR) \
- vpp_measurement_reporter.c -lm -lpthread -level -lcurl
+ vpp_measurement_reporter.c \
+ -lpthread \
+ -level \
+ -lm \
+ -lcurl
+
+