From 8ffae1be28f82d4385665b78457681300d50aaf7 Mon Sep 17 00:00:00 2001 From: tomas Date: Fri, 15 Oct 2004 10:07:53 +0000 Subject: Pequena melhoria para achar os arquivos compat-5.1. --- Makefile | 4 ++-- config | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index e103146..2878a50 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.5 2004/10/15 10:04:15 tomas Exp $ +# $Id: Makefile,v 1.6 2004/10/15 10:07:53 tomas Exp $ T= lfs @@ -19,7 +19,7 @@ lib: $(LIBNAME) $(LIBNAME): $(OBJS) $(CC) $(CFLAGS) $(LIB_OPTION) -o $(LIBNAME) $(OBJS) $(LIBS) -compat-5.1.o: compat-5.1.c +compat-5.1.o: $(COMPAT_DIR)/compat-5.1.c install: $(LIBNAME) mkdir -p $(LIB_DIR) diff --git a/config b/config index 70b0043..beb3947 100644 --- a/config +++ b/config @@ -10,11 +10,13 @@ LIB_EXT= .dylib LIB_OPTION= -dynamiclib #for MacOS X #LIB_OPTION= -shared #for Linux +COMPAT_DIR= ../compat + # Compilation directives # On FreeBSD systems, the following line should be commented DLLIB= -ldl WARN= -O2 -Wall -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings -INCS= -I/usr/local/include/lua5 -I../compat +INCS= -I/usr/local/include/lua5 -I$(COMPAT_DIR) LIBS= -L$(LIB_DIR) -llua -llualib -lm $(DLLIB) CFLAGS= $(WARN) $(INCS) CC= gcc -- cgit v1.2.3-55-g6feb