aboutsummaryrefslogtreecommitdiffstats
path: root/lualdap/Makefile.win
diff options
context:
space:
mode:
authorLeonardo Godinho <godinho@luaforge.net>2007-03-06 00:34:14 +0000
committerLeonardo Godinho <godinho@luaforge.net>2007-03-06 00:34:14 +0000
commita0f4360cefdc8de1c9f2bba694d1a4aaf234bd5d (patch)
treef1a32c91374809277aac8a59e0a416eb4dddc6fd /lualdap/Makefile.win
parentUpdating to run also on Lua 5.1.1 (diff)
downloadlualdap-a0f4360cefdc8de1c9f2bba694d1a4aaf234bd5d.tar.xz
lualdap-a0f4360cefdc8de1c9f2bba694d1a4aaf234bd5d.zip
VC 8 Makefile support
Diffstat (limited to 'lualdap/Makefile.win')
-rwxr-xr-xlualdap/Makefile.win22
1 files changed, 22 insertions, 0 deletions
diff --git a/lualdap/Makefile.win b/lualdap/Makefile.win
new file mode 100755
index 0000000..dfb8559
--- /dev/null
+++ b/lualdap/Makefile.win
@@ -0,0 +1,22 @@
+T= lualdap
+V= 1.0.2
+
+include config.win
+
+SRCS= src\$T.c
+OBJS= src\$T.obj
+
+lib: src\$(LIBNAME)
+
+.c.obj:
+ $(CC) /c /Fo$@ $(CFLAGS) $<
+
+src\$(LIBNAME): $(OBJS)
+ link /dll /def:src\$T.def /out:src\$(LIBNAME) $(OBJS) $(LUA_LIB) $(OPENLDAP_LIB)
+
+install: src\$(LIBNAME)
+ IF NOT EXIST $(LUA_LIBDIR) mkdir $(LUA_LIBDIR)
+ copy src\$(LIBNAME) $(LUA_LIBDIR)
+
+clean:
+ del src\$(LIBNAME) $(OBJS) src\$T.lib src\$T.exp