mirror of
https://github.com/lunarmodules/luafilesystem.git
synced 2026-07-25 13:13:07 +00:00
Initial revision
This commit is contained in:
21
config
Normal file
21
config
Normal file
@@ -0,0 +1,21 @@
|
||||
# Installation directories
|
||||
# System's libraries directory (where Lua libraries are installed)
|
||||
LIB_DIR= /usr/local/lib
|
||||
LUA_DIR= /usr/local/lua
|
||||
|
||||
# OS dependent
|
||||
LIB_EXT= .dylib
|
||||
#LIB_EXT= .so
|
||||
LIB_OPTION= -dynamiclib #for MacOS X
|
||||
#LIB_OPTION= -shared #for Linux
|
||||
|
||||
# Compilation directives
|
||||
# pre-compile and include mod2.lua into mod_lua.c
|
||||
# On FreeBSD systems, the following line should be commented
|
||||
DLLIB= -ldl
|
||||
WARN= -O2 -Wall -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings
|
||||
INCS= -I/usr/local/include/lua5
|
||||
LIBS= -L$(LIB_DIR) -llua -llualib -lm $(DLLIB)
|
||||
CFLAGS= $(WARN) $(INCS)
|
||||
CC= gcc
|
||||
|
||||
Reference in New Issue
Block a user