From e4951a2b36ec6d512baac94d5365f6bc33d8a9ba Mon Sep 17 00:00:00 2001 From: blumf Date: Tue, 11 Mar 2008 16:58:36 +0000 Subject: [PATCH] Untested makefile for firebird module --- Makefile.win.firebird | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Makefile.win.firebird diff --git a/Makefile.win.firebird b/Makefile.win.firebird new file mode 100644 index 0000000..10eef85 --- /dev/null +++ b/Makefile.win.firebird @@ -0,0 +1,28 @@ +LUA_INC=c:\lua5.1\include +LUA_DIR=c:\lua5.1\lua +LUA_LIBDIR=c:\lua5.1 +LUA_LIB=c:\lua5.1\lua5.1.lib + +T=firebird + +DRIVER_INCLUDE= +DRIVER_LIBS=fbclient_ms.lib + +OBJS= src\luasql.obj src\ls_$T.obj + +.c.obj: + cl /c /Fo$@ /O2 /I$(LUA_INC) /D_CRT_SECURE_NO_DEPRECATE $(DRIVER_INCLUDE) $< + +src\$T.dll: $(OBJS) + link /dll /def:src\$T.def /out:$@ $(OBJS) $(DRIVER_LIBS) $(LUA_LIB) + +install: + IF NOT EXIST $(LUA_LIBDIR)\luasql mkdir $(LUA_LIBDIR)\luasql + copy src\$T.dll $(LUA_LIBDIR)\luasql + +clean: + del src\$T.dll + del src\$T.exp + del src\$T.lib + del $(OBJS) +