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