summaryrefslogtreecommitdiff
path: root/config
blob: 1f3bd015f41cd7f230738c48ac1e9e0647a6b66b (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
# Installation directories

# Default prefix
PREFIX = /usr

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

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

# Lua includes directory
LUA_INC= $(PREFIX)/include/lua5.1

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

V= 0.1

LIBNAME= luamq.so

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