diff --git a/Makefile b/Makefile index bd79b73..a1bc6d2 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.24 2005/06/10 13:01:15 tomas Exp $ +# $Id: Makefile,v 1.25 2005/06/24 01:49:16 tomas Exp $ T= lfs V= 1.2 @@ -22,7 +22,7 @@ $(COMPAT_O): $(COMPAT_DIR)/compat-5.1.c install: src/$(LIBNAME) mkdir -p $(LUA_LIBDIR) cp src/$(LIBNAME) $(LUA_LIBDIR) - ln -f -s $(LUA_LIBDIR)/$(LIBNAME) $(LUA_LIBDIR)/$T.so + cd $(LUA_LIBDIR); ln -f -h -s $(LIBNAME) $T.so clean: - rm -f src/$(LIBNAME) $(OBJS) + rm -f src/$(LIBNAME) $(OBJS) $(COMPAT_O) diff --git a/config b/config index b6ef38c..5bbd47a 100644 --- a/config +++ b/config @@ -2,13 +2,13 @@ # System's libraries directory (where binary libraries are installed) LUA_LIBDIR= /usr/local/lib/lua/5.0 # Lua includes directory -LUA_INC= /usr/local/include/lua5 +LUA_INC= /usr/local/include # OS dependent LIB_OPTION= -shared #for Linux #LIB_OPTION= -bundle -undefined dynamic_lookup #for MacOS X -LIBNAME= lib$T-$V.so +LIBNAME= $T.so.$V COMPAT_DIR= ../compat/src # Compilation directives @@ -17,4 +17,4 @@ INCS= -I$(LUA_INC) -I$(COMPAT_DIR) CFLAGS= $(WARN) $(INCS) CC= gcc -# $Id: config,v 1.13 2005/06/10 13:01:15 tomas Exp $ +# $Id: config,v 1.14 2005/06/24 01:49:16 tomas Exp $