summaryrefslogtreecommitdiff
path: root/Sockets/Makefile.Defines.win32-cygwin
diff options
context:
space:
mode:
Diffstat (limited to 'Sockets/Makefile.Defines.win32-cygwin')
-rw-r--r--Sockets/Makefile.Defines.win32-cygwin26
1 files changed, 26 insertions, 0 deletions
diff --git a/Sockets/Makefile.Defines.win32-cygwin b/Sockets/Makefile.Defines.win32-cygwin
new file mode 100644
index 0000000..66ca672
--- /dev/null
+++ b/Sockets/Makefile.Defines.win32-cygwin
@@ -0,0 +1,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
+