diff options
author | Tomas Guisasola <tomas@luaforge.net> | 2006-07-24 01:42:06 +0000 |
---|---|---|
committer | Tomas Guisasola <tomas@luaforge.net> | 2006-07-24 01:42:06 +0000 |
commit | 96ab7c2d9652de5dff52df5f64cfa7261e04a5d8 (patch) | |
tree | 52eb540335b06422bd4130751c9c76869c5100db /lualdap/Makefile | |
parent | Updating to run on both Lua 5.0 and 5.1 (diff) | |
download | lualdap-96ab7c2d9652de5dff52df5f64cfa7261e04a5d8.tar.xz lualdap-96ab7c2d9652de5dff52df5f64cfa7261e04a5d8.zip |
Updating to run on both Lua 5.0 and 5.1
Diffstat (limited to 'lualdap/Makefile')
-rwxr-xr-x | lualdap/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
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) |