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