mirror of
https://github.com/lunarmodules/luafilesystem.git
synced 2026-07-22 02:53:06 +00:00
21 lines
604 B
Plaintext
21 lines
604 B
Plaintext
# Installation directories
|
|
# System's libraries directory (where binary libraries are installed)
|
|
LUA_LIBDIR= /usr/local/lib/lua/5.0
|
|
# Lua includes directory
|
|
LUA_INC= /usr/local/include
|
|
|
|
# OS dependent
|
|
LIB_OPTION= -shared #for Linux
|
|
#LIB_OPTION= -bundle -undefined dynamic_lookup #for MacOS X
|
|
|
|
LIBNAME= $T.so.$V
|
|
COMPAT_DIR= ../compat/src
|
|
|
|
# Compilation directives
|
|
WARN= -O2 -Wall -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings
|
|
INCS= -I$(LUA_INC) -I$(COMPAT_DIR)
|
|
CFLAGS= $(WARN) $(INCS)
|
|
CC= gcc
|
|
|
|
# $Id: config,v 1.14 2005/06/24 01:49:16 tomas Exp $
|