Fix for delta values reported by vFW vLB
[demo.git] / vnfs / VES5.0 / evel / evel-library / code / evel_training / 12-suppress-fault-fields / Makefile
1 CC=gcc
2
3 ARCH=$(shell getconf LONG_BIT)
4 CODE_ROOT=$(CURDIR)/../../..
5 LIBS_DIR=$(CODE_ROOT)/libs/x86_$(ARCH)
6 INCLUDE_DIR=$(CODE_ROOT)/code/evel_library
7 EVEL_DEMO=$(CURDIR)/../../evel_demo
8 TEST_CONTROL=$(EVEL_DEMO)/evel_test_control.c
9
10 #******************************************************************************
11 # Standard compiler flags.                                                    *
12 #******************************************************************************
13 CPPFLAGS=
14 CFLAGS=-Wall -g -fPIC
15
16 all:     hello_evel_world
17
18 hello_evel_world: hello_evel_world.c $(TEST_CONTROL)
19         $(CC) $(CPPFLAGS) $(CFLAGS) -o hello_evel_world \
20                                     -L $(LIBS_DIR) \
21                                     -I $(INCLUDE_DIR) \
22                                     -I $(EVEL_DEMO) \
23                                hello_evel_world.c \
24                                $(TEST_CONTROL) \
25                               -lpthread \
26                               -level \
27                               -lcurl
28
29 #******************************************************************************
30 # Configure the vel_username and vel_password to
31 # vel_username = username
32 # vel_password = password
33 #******************************************************************************
34 run: all
35         ./hello_evel_world 127.0.0.1 30000 username password