luasql/Makefile.win

19 lines
393 B
Makefile
Raw Normal View History

2008-01-16 18:33:02 +00:00
OBJS= src\luasql.obj src\ls_$T.obj
SRCS= src\luasql.h src\luasql.c src\ls_$T.c
LIBNAME= $T.dll
all: src\$(LIBNAME)
.c.obj:
cl /c /Fo$@ /O2 $(CFLAGS) /DWIN32 /D_CRT_SECURE_NO_DEPRECATE $<
src\$(LIBNAME): $(OBJS)
2008-01-16 18:46:40 +00:00
link /dll /def:src\$T.def /out:$@ $(LIB_OPTION) $(OBJS)
2008-01-16 18:33:02 +00:00
install:
IF NOT EXIST "$(LUA_LIBDIR)\luasql" mkdir "$(LUA_LIBDIR)\luasql"
cp src\$(LIBNAME) "$(LUA_LIBDIR)\luasql"