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 $(shell pkg-config --libs libuv) NANOPB_DIR = deps/nanopb INCLUDES = -I$(NANOPB_DIR) -I. -Iinclude -Isrc