blob: bc5b25d8f58b4f33531339884549c40bd3b9103d (
plain)
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
|
LUA_LIBDIR= usr/lib/lua/5.2
LUA_DIR= usr/share/lua/5.2
LUA_INC= /usr/include
EXPAT_INC= /usr/include
# OS dependent
LIB_OPTION= -shared
LIBNAME= $T.so.$V
LUA_VERSION_NUM= 521
COMPAT_DIR= ../compat/src
# Compilation parameters
CWARNS = -Wall -pedantic \
-Waggregate-return \
-Wcast-align \
-Wmissing-prototypes \
-Wstrict-prototypes \
-Wnested-externs \
-Wpointer-arith \
-Wshadow \
-Wwrite-strings
CFLAGS = $(CWARNS) -ansi -O2 -I$(LUA_INC) \
-I$(COMPAT_DIR) -I$(EXPAT_INC) -fPIC
CC = gcc
|