aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortomas <tomas>2005-06-06 20:10:10 +0000
committertomas <tomas>2005-06-06 20:10:10 +0000
commit9f9257647e4448b4eb47fe59d72be34b8de2b28e (patch)
tree24a8037326c598a06855587bbd69e9868c58dbd3
parent95bd727a3d6e1c14c40306853d2e6b6662d4a3f2 (diff)
downloadluafilesystem-9f9257647e4448b4eb47fe59d72be34b8de2b28e.tar.gz
luafilesystem-9f9257647e4448b4eb47fe59d72be34b8de2b28e.tar.bz2
luafilesystem-9f9257647e4448b4eb47fe59d72be34b8de2b28e.zip
Excluding -ldl option (it seems not necessary).
Including configurable config file.
-rw-r--r--Makefile5
-rw-r--r--config4
2 files changed, 5 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 033d9d6..6836d04 100644
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,10 @@
1# $Id: Makefile,v 1.21 2005/06/05 00:36:18 tomas Exp $ 1# $Id: Makefile,v 1.22 2005/06/06 20:10:10 tomas Exp $
2 2
3T= lfs 3T= lfs
4V= 1.1 4V= 1.1
5CONFIG= ./config
5 6
6include ./config 7include $(CONFIG)
7 8
8COMPAT_O= $(COMPAT_DIR)/compat-5.1.o 9COMPAT_O= $(COMPAT_DIR)/compat-5.1.o
9SRCS= src/$T.c 10SRCS= src/$T.c
diff --git a/config b/config
index 4bb4de2..4f20337 100644
--- a/config
+++ b/config
@@ -13,7 +13,7 @@ COMPAT_DIR= ../compat/src
13 13
14# Compilation directives 14# Compilation directives
15# On FreeBSD systems, the following line should be commented 15# On FreeBSD systems, the following line should be commented
16DLLIB= -ldl 16#DLLIB= -ldl
17#LUA_LIBS= -llua50 -lm 17#LUA_LIBS= -llua50 -lm
18WARN= -O2 -Wall -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings 18WARN= -O2 -Wall -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings
19INCS= -I$(LUA_INC) -I$(COMPAT_DIR) 19INCS= -I$(LUA_INC) -I$(COMPAT_DIR)
@@ -21,4 +21,4 @@ LIBS= $(LUA_LIBS) $(DLLIB)
21CFLAGS= $(WARN) $(INCS) 21CFLAGS= $(WARN) $(INCS)
22CC= gcc 22CC= gcc
23 23
24# $Id: config,v 1.11 2005/06/05 00:36:18 tomas Exp $ 24# $Id: config,v 1.12 2005/06/06 20:10:10 tomas Exp $