forked from Mantevo/miniFE
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile.tpi
More file actions
28 lines (20 loc) · 716 Bytes
/
Copy pathmakefile.tpi
File metadata and controls
28 lines (20 loc) · 716 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
#-----------------------------------------------------------------------
OPTIONAL_DEFS = -DMINIFE_HAVE_TPI -DHAVE_PTHREAD
OPTIONAL_INCS = -I./optional/ThreadPool -I./optional/ThreadPool/src
OPTIONAL_OBJS = TPI.o
OPTIONAL_LIBS = -lpthread
#-----------------------------------------------------------------------
MINIFE_TYPES = \
-DMINIFE_SCALAR=double \
-DMINIFE_LOCAL_ORDINAL=int \
-DMINIFE_GLOBAL_ORDINAL=int
#-----------------------------------------------------------------------
CFLAGS = -O3
CXXFLAGS = -O3
CPPFLAGS = -I. -I../utils -I../fem $(MINIFE_TYPES) -DHAVE_MPI $(OPTIONAL_INCS) $(OPTIONAL_DEFS)
LDFLAGS =
LIBS =
CXX=mpicxx
CC=mpicc
include make_targets
include ./optional/make_targets