forked from holybao/PALISADE
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile.mac
More file actions
30 lines (21 loc) · 694 Bytes
/
Makefile.mac
File metadata and controls
30 lines (21 loc) · 694 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
## for mac OSx
TAR := gnutar
OMPINCLUDE := -I /opt/local/include/libomp -fopenmp
ifneq ($(wildcard third-party/include), )
NTLLIB := third-party/lib/libntl.dylib
GMPLIB := third-party/lib/libgmp.dylib
endif
CPPSTD := -std=c++11 -stdlib=libc++ -fPIC
CC := /opt/local/bin/clang++ $(CPPSTD)
BISON := /opt/local/bin/bison
FLEX := /opt/local/bin/flex
LIBSUFFIX := .dylib
LIBCMD := $(CC) -dynamiclib -undefined suppress -flat_namespace -fopenmp -o #libname to follow
RDYNAMIC :=
JNIBUILD :=
JNILIB := libPalisadeCryptoWrapper.jnilib
JNILINKPARM := -framework JavaVM
PYINCLUDE := $(shell python-config --include)
LIBPYTHON := -lpython2.7
COMPTHREADFLAG := -pthread
LOADTHREADFLAG :=