From 26d207052c41bc95366dad263dde77c7a5cb17e1 Mon Sep 17 00:00:00 2001 From: tomas Date: Fri, 10 Jun 2005 13:01:15 +0000 Subject: Cleaning unused libraries while building .so. --- Makefile | 6 +++--- config | 6 +----- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index b474952..bd79b73 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ -# $Id: Makefile,v 1.23 2005/06/06 22:15:53 tomas Exp $ +# $Id: Makefile,v 1.24 2005/06/10 13:01:15 tomas Exp $ T= lfs -V= 1.1 +V= 1.2 CONFIG= ./config include $(CONFIG) @@ -14,7 +14,7 @@ OBJS= src/$T.o $(COMPAT_O) lib: src/$(LIBNAME) src/$(LIBNAME): $(OBJS) - export MACOSX_DEPLOYMENT_TARGET="10.3"; $(CC) $(CFLAGS) $(LIBS) $(LIB_OPTION) -o src/$(LIBNAME) $(OBJS) + export MACOSX_DEPLOYMENT_TARGET="10.3"; $(CC) $(CFLAGS) $(LIB_OPTION) -o src/$(LIBNAME) $(OBJS) $(COMPAT_O): $(COMPAT_DIR)/compat-5.1.c $(CC) -c $(CFLAGS) -o $@ $(COMPAT_DIR)/compat-5.1.c diff --git a/config b/config index 4f20337..b6ef38c 100644 --- a/config +++ b/config @@ -12,13 +12,9 @@ LIBNAME= lib$T-$V.so COMPAT_DIR= ../compat/src # Compilation directives -# On FreeBSD systems, the following line should be commented -#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) -LIBS= $(LUA_LIBS) $(DLLIB) CFLAGS= $(WARN) $(INCS) CC= gcc -# $Id: config,v 1.12 2005/06/06 20:10:10 tomas Exp $ +# $Id: config,v 1.13 2005/06/10 13:01:15 tomas Exp $ -- cgit v1.2.3-55-g6feb