mirror of
https://github.com/lunarmodules/luafilesystem.git
synced 2026-07-22 02:53:06 +00:00
Standardizing Makefile and config.
This commit is contained in:
6
Makefile
6
Makefile
@@ -1,12 +1,10 @@
|
|||||||
# $Id: Makefile,v 1.20 2005/06/04 18:22:29 tomas Exp $
|
# $Id: Makefile,v 1.21 2005/06/05 00:36:18 tomas Exp $
|
||||||
|
|
||||||
T= lfs
|
T= lfs
|
||||||
|
V= 1.1
|
||||||
|
|
||||||
include ./config
|
include ./config
|
||||||
|
|
||||||
V= 1.1
|
|
||||||
LIBNAME= lib$T.$V.so
|
|
||||||
|
|
||||||
COMPAT_O= $(COMPAT_DIR)/compat-5.1.o
|
COMPAT_O= $(COMPAT_DIR)/compat-5.1.o
|
||||||
SRCS= src/$T.c
|
SRCS= src/$T.c
|
||||||
OBJS= src/$T.o $(COMPAT_O)
|
OBJS= src/$T.o $(COMPAT_O)
|
||||||
|
|||||||
4
config
4
config
@@ -5,9 +5,10 @@ LUA_LIBDIR= /usr/local/lib/lua/5.0
|
|||||||
LUA_INC= /usr/local/include/lua5
|
LUA_INC= /usr/local/include/lua5
|
||||||
|
|
||||||
# OS dependent
|
# OS dependent
|
||||||
#LIB_OPTION= -bundle -undefined dynamic_lookup #for MacOS X
|
|
||||||
LIB_OPTION= -shared #for Linux
|
LIB_OPTION= -shared #for Linux
|
||||||
|
#LIB_OPTION= -bundle -undefined dynamic_lookup #for MacOS X
|
||||||
|
|
||||||
|
LIBNAME= lib$T-$V.so
|
||||||
COMPAT_DIR= ../compat/src
|
COMPAT_DIR= ../compat/src
|
||||||
|
|
||||||
# Compilation directives
|
# Compilation directives
|
||||||
@@ -20,3 +21,4 @@ LIBS= $(LUA_LIBS) $(DLLIB)
|
|||||||
CFLAGS= $(WARN) $(INCS)
|
CFLAGS= $(WARN) $(INCS)
|
||||||
CC= gcc
|
CC= gcc
|
||||||
|
|
||||||
|
# $Id: config,v 1.11 2005/06/05 00:36:18 tomas Exp $
|
||||||
|
|||||||
Reference in New Issue
Block a user