mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
27 lines
566 B
Plaintext
27 lines
566 B
Plaintext
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
|