aboutsummaryrefslogtreecommitdiffstats
path: root/vnfs/VESreporting_vLB5.0/Makefile
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2019-01-28 20:59:35 +0000
committerGerrit Code Review <gerrit@onap.org>2019-01-28 20:59:35 +0000
commit7115cfddb7ecec3cd56b548b4365fdea1783b2d7 (patch)
treedd355670ab823386ccd3e165ba19b0325eb50b00 /vnfs/VESreporting_vLB5.0/Makefile
parent1b97e2665be03fc518eb11de0863c42b2280149e (diff)
parentaf7aa682517d3ccaace9a089194e6a4333f4cdaa (diff)
Merge "VES EVEL Library VES 5.4.1 enhancements"
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
+
+