Makefile.mingw64 911 Bytes
Newer Older
Gerard Ryan's avatar
Gerard Ryan committed
1 2 3 4 5 6 7 8
## for mingw64 on windows

BOOSTINCLUDE := -I C:/boost_1_60_0
BOOSTLIB := -L C:/boost_1_60_0/stage/lib/

#BOOSTINCLUDE := 
#BOOSTLIB := 

Gerard Ryan's avatar
Gerard Ryan committed
9 10 11 12 13 14 15 16
ifneq ($(wildcard third-party/include), )
  #$(info GMP/NTL directory third-party/include exists)
  NTLLIB := third-party/lib/libntl.a
  GMPLIB := third-party/lib/libgmp.a
else
  #$(info GMP/NTL directory third-party does not exist)
endif

Gerard Ryan's avatar
Gerard Ryan committed
17 18 19 20
OMPINCLUDE := 
CPPSTD := -std=gnu++11
CC := g++ $(CPPSTD)

Gerard Ryan's avatar
Gerard Ryan committed
21
LIBCMD := $(CC) -s -shared -Wl,--subsystem,windows  -fopenmp -o #libname to follow
Gerard Ryan's avatar
Gerard Ryan committed
22 23 24 25

LIBSUFFIX := .dll
EXESUFFIX := .exe

Gerard Ryan's avatar
Gerard Ryan committed
26
SHLWAPI := -lshlwapi
Gerard Ryan's avatar
Gerard Ryan committed
27 28 29 30 31 32 33 34 35 36
RDYNAMIC := 

JNIBUILD :=  -I "C:/Program Files/java/jdk1.8.0_91/include" -I "C:/Program Files/java/jdk1.8.0_91/include/win32"
JNILIB := PalisadeCryptoWrapper.dll

PYINCLUDE := -I C:/Mingw64/mingw64/opt/include/python2.7
LIBPYTHON := -L C:/Mingw64/mingw64/opt/bin -lpython2.7 

COMPTHREADFLAG := -pthread
LOADTHREADFLAG := -pthread