1 #BOOST_INCLUDE := -I/Users/jselbie/boost_1_63_0 2 #OPENSSL_INCLUDE := -I/Users/jselbie/openssl/include 6 # CLANG compiler works fine 7 # CXX := /usr/bin/clang++ 9 STANDARD_FLAGS := -Wall -Wuninitialized
13 PROFILE_FLAGS := -O2 -g
14 FLAVOR_FLAGS = $(RELEASE_FLAGS)
15 CRYPTO_LIBS := -lcrypto
19 UNAME := $(shell uname -s)
21 SOCKET_LIBS := -lsocket -lnsl
25 ifeq ($(UNAME),Darwin)
29 .PHONY: all clean debug
32 echo Building precompiled header: $@
33 $(COMPILE.cpp) $(INCLUDES) $(DEFINES) $(STANDARD_FLAGS) $(FLAVOR_FLAGS) $^
36 $(COMPILE.cpp) $(INCLUDES) $(DEFINES) $(STANDARD_FLAGS) $(FLAVOR_FLAGS) $^
38 # put "all" target first so that it is the default 41 debug: FLAVOR_FLAGS = $(DEBUG_FLAGS)
42 debug: DEFINES = -DDEBUG
46 profile: FLAVOR_FLAGS = $(PROFILE_FLAGS)