From 9f9257647e4448b4eb47fe59d72be34b8de2b28e Mon Sep 17 00:00:00 2001 From: tomas Date: Mon, 6 Jun 2005 20:10:10 +0000 Subject: Excluding -ldl option (it seems not necessary). Including configurable config file. --- Makefile | 5 +++-- config | 4 ++-- 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 @@ -# $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 diff --git a/config b/config index 4bb4de2..4f20337 100644 --- a/config +++ b/config @@ -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 $ -- cgit v1.2.3-55-g6feb