blob: 64afe1cca00ce3746d187e5380fbec6fee3b2430 (
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.1
LUA_DIR= usr/share/lua/5.1
LUA_INC= /usr/include/lua5.1
EXPAT_INC= /usr/include
# OS dependent
LIB_OPTION= -shared
LIBNAME= $T.so.$V
LUA_VERSION_NUM= 515
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
|