about summary refs log tree commit diff stats
path: root/config.mk
blob: 9c9c9b137ba28819133af2ce505047cc6a3170dd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
ifeq ($(PREFIX),)
PREFIX = /usr/local
endif
INCLUDEDIR = $(PREFIX)/include
LIBDIR = $(PREFIX)/lib

BUILD_DIR = build
NAME = libuv_link_t
SNAME = $(NAME).a
DNAME = $(NAME).so

CFLAGS = -W -Wall -Wvla -std=gnu99 -g -fPIC
CFLAGS += $(shell pkg-config --cflags libuv)
LDLIBS = $(shell pkg-config --libs libuv)

INCLUDES = -I.