Excluding -ldl option (it seems not necessary).

Including configurable config file.
This commit is contained in:
tomas
2005-06-06 20:10:10 +00:00
parent 95bd727a3d
commit 9f9257647e
2 changed files with 5 additions and 4 deletions

View File

@@ -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
V= 1.1
CONFIG= ./config
include ./config
include $(CONFIG)
COMPAT_O= $(COMPAT_DIR)/compat-5.1.o
SRCS= src/$T.c

4
config
View File

@@ -13,7 +13,7 @@ COMPAT_DIR= ../compat/src
# Compilation directives
# On FreeBSD systems, the following line should be commented
DLLIB= -ldl
#DLLIB= -ldl
#LUA_LIBS= -llua50 -lm
WARN= -O2 -Wall -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings
INCS= -I$(LUA_INC) -I$(COMPAT_DIR)
@@ -21,4 +21,4 @@ LIBS= $(LUA_LIBS) $(DLLIB)
CFLAGS= $(WARN) $(INCS)
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 $