forked from holybao/PALISADE
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile.mingw64
More file actions
36 lines (26 loc) · 911 Bytes
/
Makefile.mingw64
File metadata and controls
36 lines (26 loc) · 911 Bytes
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
29
30
31
32
33
34
35
36
## for mingw64 on windows
BOOSTINCLUDE := -I C:/boost_1_60_0
BOOSTLIB := -L C:/boost_1_60_0/stage/lib/
#BOOSTINCLUDE :=
#BOOSTLIB :=
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
OMPINCLUDE :=
CPPSTD := -std=gnu++11
CC := g++ $(CPPSTD)
LIBCMD := $(CC) -s -shared -Wl,--subsystem,windows -fopenmp -o #libname to follow
LIBSUFFIX := .dll
EXESUFFIX := .exe
SHLWAPI := -lshlwapi
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