summaryrefslogtreecommitdiff
path: root/config
blob: 0f14a030914c28cf27b01acc6e31502650385783 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Installation directories

# Default prefix
PREFIX = /usr

LUA_VER=5.2

# System's libraries directory (where binary libraries are installed)
LUA_LIBDIR= $(PREFIX)/lib/lua/$(LUA_VER)

# System's lua directory (where Lua libraries are installed)
LUA_DIR= $(PREFIX)/share/lua/$(LUA_VER)

# Lua includes directory
LUA_INC= $(PREFIX)/include/lua$(LUA_VER)

# OS dependent
LIB_OPTION= -lrt -shared #for Linux

V=0.2

LIBNAME= mq.so

WARN= -Wall -Wmissing-prototypes -Wmissing-declarations -pedantic -fPIC
INCS= -I$(LUA_INC)
CFLAGS= -O2 $(WARN) $(INCS)
CC= gcc