Commit 923e5004 authored by Sergey Lyubka's avatar Sergey Lyubka

Added CFLAGS_EXTRA to windows compilation flags

parent b14a1e25
...@@ -46,7 +46,7 @@ LUA_SQLITE_FLAGS = $(SQLITE_FLAGS) $(LUA_FLAGS) -DUSE_LUA_SQLITE3 ...@@ -46,7 +46,7 @@ LUA_SQLITE_FLAGS = $(SQLITE_FLAGS) $(LUA_FLAGS) -DUSE_LUA_SQLITE3
# Run "PATH_TO_VC6\bin\nmake windows" # Run "PATH_TO_VC6\bin\nmake windows"
MSVC = ../../vc6 MSVC = ../../vc6
#DBG = /Zi /Od #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. CL = $(MSVC)/bin/cl /MD /TC /nologo $(DBG) /W3 /I$(MSVC)/include /I.. /I.
LINK_FLAGS = /incremental:no /libpath:$(MSVC)/lib /machine:IX86 \ LINK_FLAGS = /incremental:no /libpath:$(MSVC)/lib /machine:IX86 \
user32.lib shell32.lib comdlg32.lib ws2_32.lib advapi32.lib user32.lib shell32.lib comdlg32.lib ws2_32.lib advapi32.lib
...@@ -101,8 +101,8 @@ $(PROG).dll: $(TINY_SOURCES) Makefile ...@@ -101,8 +101,8 @@ $(PROG).dll: $(TINY_SOURCES) Makefile
$(CL) ../mongoose.c /Gz /link $(LINK_FLAGS) /DLL /DEF:dll.def /out:$@ $(CL) ../mongoose.c /Gz /link $(LINK_FLAGS) /DLL /DEF:dll.def /out:$@
# This is broken now due to SSL exclusion # This is broken now due to SSL exclusion
windows_unit_test.exe: $(LUA_SOURCES) Makefile windows_unit_test.exe: ../mongoose.c Makefile
$(CL) ./test/unit_test.c lua_5.2.1.c -DLUA_COMPAT_ALL \ $(CL) ./test/unit_test.c lua_5.2.1.c \
/link /libpath:$(MSVC)/lib advapi32.lib /out:$@ /link /libpath:$(MSVC)/lib advapi32.lib /out:$@
./$@ ./$@
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment