aboutsummaryrefslogtreecommitdiffstats
path: root/lualdap/Makefile
diff options
context:
space:
mode:
authorTomas Guisasola <tomas@luaforge.net>2006-07-24 01:42:06 +0000
committerTomas Guisasola <tomas@luaforge.net>2006-07-24 01:42:06 +0000
commit96ab7c2d9652de5dff52df5f64cfa7261e04a5d8 (patch)
tree52eb540335b06422bd4130751c9c76869c5100db /lualdap/Makefile
parentUpdating to run on both Lua 5.0 and 5.1 (diff)
downloadlualdap-96ab7c2d9652de5dff52df5f64cfa7261e04a5d8.tar.xz
lualdap-96ab7c2d9652de5dff52df5f64cfa7261e04a5d8.zip
Updating to run on both Lua 5.0 and 5.1
Diffstat (limited to '')
-rwxr-xr-xlualdap/Makefile10
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)