summaryrefslogtreecommitdiff
path: root/Sockets/Makefile.Defines.macosx
diff options
context:
space:
mode:
Diffstat (limited to 'Sockets/Makefile.Defines.macosx')
-rw-r--r--Sockets/Makefile.Defines.macosx28
1 files changed, 28 insertions, 0 deletions
diff --git a/Sockets/Makefile.Defines.macosx b/Sockets/Makefile.Defines.macosx
new file mode 100644
index 0000000..9b54559
--- /dev/null
+++ b/Sockets/Makefile.Defines.macosx
@@ -0,0 +1,28 @@
+CXX = g++
+
+CFLAGS += -Wall -g $(INCLUDE) -MD -D_VERSION='"$(VERSION)"'
+
+# turn off optimization if compiling with gcc 2.9.x:
+#CFLAGS += -O0
+CFLAGS += -O2
+
+
+# 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 += \
+ -lssl -lcrypto \
+ -lpthread
+
+OBJS += Semaphore.o
+