summaryrefslogtreecommitdiff
path: root/src/Sockets/Makefile.Defines.win32-cygwin
blob: 66ca672308747ed6acdd371abdc944880baca02e (plain) (blame)
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
CXX =		g++

CFLAGS +=	-Wall -g $(INCLUDE) -MD -D_VERSION='"$(VERSION)"'

# turn off optimization if compiling with gcc 2.9.x:
#CFLAGS +=	-O0
CFLAGS +=	-O2 -mno-cygwin


# uncomment depending on your operating system
#CFLAGS +=	-DLINUX
#CFLAGS +=	-DMACOSX 
# solaris > 8
#CFLAGS +=	-DSOLARIS
# solaris 8
#CFLAGS +=	-DSOLARIS8
# windows and/or cygwin
CFLAGS +=	-D_WIN32
# cygwin
CFLAGS +=	-D__CYGWIN__


LIBS +=		c:/openssl/lib/mingw/ssleay32.a \
		c:/openssl/lib/mingw/libeay32.a \
		-lws2_32