blob: bb8cf4c9481c5e07b5e70e404fff6eb4c1767dad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# -*- Makefile -*-
# debug = 1
# optimize = 1
winsock2 ?= 1
debug ?= 1
optimize ?= 1
threads ?= 1
pipes ?= 0
inline ?= 0
ifeq ($(debug),0)
CFLAGS += -DNDEBUG /MD
else
CFLAGS += /MDd
endif
ifeq ($(buildbits),64)
CFLAGS += /Wp64 -DWIN64
endif
CC = icl
CXX = icl
RC = rc
CFLAGS += -DWIN32 /nologo /GR
EXEEXT = .exe
DCFLAGS +=
DLD = $(CXX)
LD = $(CXX)
OCFLAGS += -O3
PIC =
AR = ar
ARFLAGS = rsuv
RANLIB = ranlib
SOEXT = dll
OBJEXT = obj
SOFLAGS += $(MODEL_FLAGS) $(CPPFLAGS)
SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $<
CCFLAGS += $(CFLAGS)
|