blob: 18edba8354da6735802eed9f55356e5f70165e71 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
ifeq ($(PREFIX),)
PREFIX = /usr/local
endif
BUILD_DIR = build
NAME = libumumble
SNAME = $(NAME).a
DNAME = $(NAME).so
CFLAGS = -W -Wall -Wvla -std=gnu99 -g -fPIC
CFLAGS += $(shell pkg-config --cflags libuv)
LDLIBS = -ltlsuv -luv_link_t
LDLIBS += -lmbedtls -lmbedcrypto -lmbedx509
LDLIBS += $(shell pkg-config --libs libuv)
NANOPB_DIR = deps/nanopb
INCLUDES = -I$(NANOPB_DIR) -I. -Iinclude -Isrc
|