mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-28 12:30:58 +00:00
Make mongoose compile on mingw environment
This commit is contained in:
1 parent
e0822ffb78
commit
3721efe1e9
2 files changed
+17
-9
No files matched your search
+12
-7
@@ -11,13 +11,18 @@ NS = ../../net_skeleton
|
||||
SW = ../../ssl_wrapper
|
||||
|
||||
ifeq ($(OS),Windows_NT)
|
||||
MSVC = ../../vc6
|
||||
RM = del /q /f
|
||||
OUT =
|
||||
CC = $(MSVC)/bin/cl
|
||||
CFLAGS = /MD /TC /nologo /W3 /I$(MSVC)/include /I..
|
||||
CFLAGS += /link /incremental:no /libpath:$(MSVC)/lib /machine:IX86
|
||||
CFLAGS += $(CFLAGS_EXTRA)
|
||||
ifndef MINGW
|
||||
MSVC = ../../vc6
|
||||
RM = del /q /f
|
||||
OUT =
|
||||
CC = $(MSVC)/bin/cl
|
||||
CFLAGS = /MD /TC /nologo /W3 /I$(MSVC)/include /I..
|
||||
CFLAGS += /link /incremental:no /libpath:$(MSVC)/lib /machine:IX86
|
||||
CFLAGS += $(CFLAGS_EXTRA)
|
||||
else
|
||||
CC = g++
|
||||
CFLAGS = -W -Wall -Wno-unused-parameter -I.. -O0 -g -pipe $(CFLAGS_EXTRA) -lwsock32
|
||||
endif
|
||||
else
|
||||
UNAME_S := $(shell uname -s)
|
||||
CC = g++
|
||||
|
||||
Reference in new issue
Block a user