Pequena melhoria para achar os arquivos compat-5.1.

This commit is contained in:
tomas
2004-10-15 10:07:53 +00:00
parent 39fba7df43
commit 8ffae1be28
2 changed files with 5 additions and 3 deletions

View File

@@ -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)

4
config
View File

@@ -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