Permalink
Browse files

Update Makefile for Clonecoind.

  • Loading branch information...
HowToCloneAnAltcoin
HowToCloneAnAltcoin committed Nov 11, 2014
1 parent 437d50f commit 6b124d98f059fb42b2b8837b520b6a626ec6f5ef
Showing with 13 additions and 6 deletions.
  1. +13 −6 src/makefile.mingw
View
@@ -17,19 +17,25 @@
CXX ?= g++
USE_UPNP:=-
USE_UPNP:=1
USE_IPV6:=1
DEPSDIR?=/usr/local
BOOST_SUFFIX?=-mgw46-mt-sd-1_52
BOOST_SUFFIX?=-mgw49-mt-s-1_55
INCLUDEPATHS= \
-I"$(CURDIR)" \
-I"$(DEPSDIR)/include"
-I"/c/deps/boost_1_55_0" \
-I"/c/deps" \
-I"/c/deps/db-4.8.30.NC/build_unix" \
-I"/c/deps/openssl-1.0.1j/include"
LIBPATHS= \
-L"$(CURDIR)/leveldb" \
-L"$(DEPSDIR)/lib"
-L"/c/deps/boost_1_55_0/stage/lib" \
-L"/c/deps/miniupnpc" \
-L"/c/deps/db-4.8.30.NC/build_unix" \
-L"/c/deps/openssl-1.0.1j"
LIBS= \
-l leveldb \
@@ -47,7 +53,8 @@ DEFS=-D_MT -DWIN32 -D_WINDOWS -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE
DEBUGFLAGS=-g
CFLAGS=-mthreads -O2 -w -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter $(DEBUGFLAGS) $(DEFS) $(INCLUDEPATHS)
# enable: ASLR, DEP and large address aware
LDFLAGS=-Wl,--dynamicbase -Wl,--nxcompat -Wl,--large-address-aware
LDFLAGS=-Wl,--dynamicbase -Wl,--nxcompat -Wl,--large-address-aware -static
TESTDEFS = -DTEST_DATA_DIR=$(abspath test/data)

0 comments on commit 6b124d9

Please sign in to comment.