From 96ab7c2d9652de5dff52df5f64cfa7261e04a5d8 Mon Sep 17 00:00:00 2001 From: Tomas Guisasola Date: Mon, 24 Jul 2006 01:42:06 +0000 Subject: Updating to run on both Lua 5.0 and 5.1 --- lualdap/Makefile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'lualdap/Makefile') diff --git a/lualdap/Makefile b/lualdap/Makefile index 6b2b251..4b9ee1c 100755 --- a/lualdap/Makefile +++ b/lualdap/Makefile @@ -1,12 +1,16 @@ -# $Id: Makefile,v 1.28 2005-12-26 21:26:03 tomas Exp $ +# $Id: Makefile,v 1.29 2006-07-24 01:42:06 tomas Exp $ T= lualdap -V= 1.0 +V= 1.0.2 CONFIG= ./config include $(CONFIG) -OBJS= src/lualdap.o $(COMPAT_DIR)/compat-5.1.o +ifeq "$(LUA_VERSION_NUM)" "500" +COMPAT_O= $(COMPAT_DIR)/compat-5.1.o +endif + +OBJS= src/lualdap.o $(COMPAT_O) src/$(LIBNAME): $(OBJS) -- cgit v1.2.3-59-g8ed1b