blob: 42481ec8e90e1ade00970df3c12fbfe828231147 (
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
27
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 += \
-lpthread
# -lssl -lcrypto \
OBJS += Semaphore.o
|