mirror of
https://github.com/lunarmodules/luafilesystem.git
synced 2026-07-24 12:23:08 +00:00
Excluding -ldl option (it seems not necessary).
Including configurable config file.
This commit is contained in:
5
Makefile
5
Makefile
@@ -1,9 +1,10 @@
|
|||||||
# $Id: Makefile,v 1.21 2005/06/05 00:36:18 tomas Exp $
|
# $Id: Makefile,v 1.22 2005/06/06 20:10:10 tomas Exp $
|
||||||
|
|
||||||
T= lfs
|
T= lfs
|
||||||
V= 1.1
|
V= 1.1
|
||||||
|
CONFIG= ./config
|
||||||
|
|
||||||
include ./config
|
include $(CONFIG)
|
||||||
|
|
||||||
COMPAT_O= $(COMPAT_DIR)/compat-5.1.o
|
COMPAT_O= $(COMPAT_DIR)/compat-5.1.o
|
||||||
SRCS= src/$T.c
|
SRCS= src/$T.c
|
||||||
|
|||||||
4
config
4
config
@@ -13,7 +13,7 @@ COMPAT_DIR= ../compat/src
|
|||||||
|
|
||||||
# Compilation directives
|
# Compilation directives
|
||||||
# On FreeBSD systems, the following line should be commented
|
# On FreeBSD systems, the following line should be commented
|
||||||
DLLIB= -ldl
|
#DLLIB= -ldl
|
||||||
#LUA_LIBS= -llua50 -lm
|
#LUA_LIBS= -llua50 -lm
|
||||||
WARN= -O2 -Wall -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings
|
WARN= -O2 -Wall -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings
|
||||||
INCS= -I$(LUA_INC) -I$(COMPAT_DIR)
|
INCS= -I$(LUA_INC) -I$(COMPAT_DIR)
|
||||||
@@ -21,4 +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 $
|
# $Id: config,v 1.12 2005/06/06 20:10:10 tomas Exp $
|
||||||
|
|||||||
Reference in New Issue
Block a user