fixed windows makefile
This commit is contained in:
parent
fd24fedd30
commit
279f4335f6
@ -11,7 +11,7 @@ all: src\$(LIBNAME)
|
||||
cl /c /Fo$@ /O2 $(CFLAGS) /DWIN32 /D_CRT_SECURE_NO_DEPRECATE $<
|
||||
|
||||
src\$(LIBNAME): $(OBJS)
|
||||
link /out:$@ $(LIB_OPTION) $(OBJS)
|
||||
link /dll /out:$@ $(LIB_OPTION) $(OBJS)
|
||||
|
||||
install:
|
||||
IF NOT EXIST "$(LUA_LIBDIR)\luasql" mkdir "$(LUA_LIBDIR)\luasql"
|
||||
|
@ -36,9 +36,9 @@ build = {
|
||||
LUA_LIBDIR = "$(LIBDIR)",
|
||||
},
|
||||
platforms = {
|
||||
"windows" = {
|
||||
build_variables = {
|
||||
LIB_OPTION = "$(SQLITE_LIB)",
|
||||
win32 = {
|
||||
variables = {
|
||||
LIB_OPTION = "$(SQLITE_LIB) $(LUA_LIBDIR)\\lua5.1.lib",
|
||||
CFLAGS = "$(CFLAGS) /I$(LUA_INCDIR) /I$(SQLITE_INCDIR)"
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user