about summary refs log tree commit diff stats
path: root/config.mk
blob: 2ccc175700aa49f3d60830a7ac86918b7afe9013 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
PREFIX = /usr/local
BUILD_DIR = build
NAME = libumumble
SNAME = $(NAME).a
DNAME = $(NAME).so

CC = gcc
CFLAGS = -W -Wall -Wvla -std=gnu99 -g
CFLAGS += $(shell pkg-config --cflags libuv)
LDLIBS = $(shell pkg-config --libs libuv)
NANOPB_DIR = deps/nanopb

INCLUDES = -I$(NANOPB_DIR) -I. -Iinclude -Isrc