mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-18 10:59:45 +00:00
Added CFLAGS_EXTRA to windows compilation flags
This commit is contained in:
1 parent
b14a1e25f0
commit
923e5004e8
1 file changed
+3
-3
+3
-3
@@ -46,7 +46,7 @@ LUA_SQLITE_FLAGS = $(SQLITE_FLAGS) $(LUA_FLAGS) -DUSE_LUA_SQLITE3
|
||||
# Run "PATH_TO_VC6\bin\nmake windows"
|
||||
MSVC = ../../vc6
|
||||
#DBG = /Zi /Od
|
||||
DBG = /DNDEBUG /O1
|
||||
DBG = /DNDEBUG /O1 $(CFLAGS_EXTRA)
|
||||
CL = $(MSVC)/bin/cl /MD /TC /nologo $(DBG) /W3 /I$(MSVC)/include /I.. /I.
|
||||
LINK_FLAGS = /incremental:no /libpath:$(MSVC)/lib /machine:IX86 \
|
||||
user32.lib shell32.lib comdlg32.lib ws2_32.lib advapi32.lib
|
||||
@@ -101,8 +101,8 @@ $(PROG).dll: $(TINY_SOURCES) Makefile
|
||||
$(CL) ../mongoose.c /Gz /link $(LINK_FLAGS) /DLL /DEF:dll.def /out:$@
|
||||
|
||||
# This is broken now due to SSL exclusion
|
||||
windows_unit_test.exe: $(LUA_SOURCES) Makefile
|
||||
$(CL) ./test/unit_test.c lua_5.2.1.c -DLUA_COMPAT_ALL \
|
||||
windows_unit_test.exe: ../mongoose.c Makefile
|
||||
$(CL) ./test/unit_test.c lua_5.2.1.c \
|
||||
/link /libpath:$(MSVC)/lib advapi32.lib /out:$@
|
||||
./$@
|
||||
|
||||
|
||||
Reference in new issue
Block a user