aboutsummaryrefslogtreecommitdiffstats
path: root/vnfs/VES5.0/evel/evel-library/code/evel_training/02-library-link/Makefile
blob: a6013de38719648b85617c47d720758a15ffa128 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
CC=gcc

#******************************************************************************
# Standard compiler flags.                                                    *
#******************************************************************************
CPPFLAGS=
CFLAGS=-Wall -g -fPIC

ARCH=$(shell getconf LONG_BIT)
CODE_ROOT=$(CURDIR)/../../..
LIBS_DIR=$(CODE_ROOT)/libs/x86_$(ARCH)

all:     hello_evel_world

hello_evel_world: hello_evel_world.c
	$(CC) $(CPPFLAGS) $(CFLAGS) -o hello_evel_world \
	                            -L $(LIBS_DIR) \
                               hello_evel_world.c \
                              -lpthread \
                              -level \
                              -lcurl