summaryrefslogtreecommitdiffstats
path: root/main/lua-expat/newconfig
blob: 7d8d6331fc3eca76f0819fdfbdee216abb1591ee (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
EXPAT_INC= /usr/include

# OS dependent
LIB_OPTION= -shared

LIBNAME= $T.so.$V
LUA_VERSION_NUM= 514
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)
CC = gcc