mirror of
https://github.com/lunarmodules/luafilesystem.git
synced 2026-07-22 02:53:06 +00:00
Melhoria de padronizacao e reutilizacao da compilacao e da instalacao.
This commit is contained in:
11
config
11
config
@@ -7,19 +7,20 @@ LUA_DIR= /usr/local/share/lua/5.0
|
||||
LUA_INC= /usr/local/include/lua5
|
||||
|
||||
# OS dependent
|
||||
LIB_EXT= .dylib
|
||||
#LIB_EXT= .so
|
||||
LIB_OPTION= -dynamiclib #for MacOS X
|
||||
#LIB_OPTION= -shared #for Linux
|
||||
#LIB_EXT= .dylib
|
||||
LIB_EXT= .so
|
||||
#LIB_OPTION= -dynamiclib #for MacOS X
|
||||
LIB_OPTION= -shared #for Linux
|
||||
|
||||
COMPAT_DIR= .
|
||||
|
||||
# Compilation directives
|
||||
# On FreeBSD systems, the following line should be commented
|
||||
DLLIB= -ldl
|
||||
LUA_LIBS= -llua -llualib -lm
|
||||
WARN= -O2 -Wall -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings
|
||||
INCS= -I$(LUA_INC) -I$(COMPAT_DIR)
|
||||
LIBS= -L$(LUA_LIBDIR) -llua -llualib -lm $(DLLIB)
|
||||
LIBS= $(LUA_LIBS) $(DLLIB)
|
||||
CFLAGS= $(WARN) $(INCS)
|
||||
CC= gcc
|
||||
|
||||
|
||||
Reference in New Issue
Block a user