forked from DanielDoehring/SSOCs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
37 lines (25 loc) · 887 Bytes
/
Makefile
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
37
CXX=g++
CXXFLAGS=-std=c++17 -I $(HOME)/git/EiCOS/include/ -L $(HOME)/git/EiCOS/ -Wl,-rpath,$(HOME)/git/EiCOS/ -Ofast
LIB_MP=-l eicos_MP
LIB_LDBL=-l eicos_LDBL
# Standard SSOCs
SSOCs_MP_TARGET=SSOCs_MP
SSOCs_LDBL_TARGET=SSOCs_LDBL
# SSOCs for PERK-4 stability polynomials
SSOCs_PERK4_MP_TARGET=SSOCs_PERK4_MP
SSOCs_PERK4_LDBL_TARGET=SSOCs_PERK4_LDBL
all: $(MP_TARGETS) $(LDBL_TARGETS)
MP_TARGETS: $(SSOCs_MP_TARGET) $(SSOCs_PERK4_MP_TARGET)
LDBL_TARGETS: $(SSOCs_LDBL_TARGET) $(SSOCs_PERK4_LDBL_TARGET)
$(SSOCs_MP_TARGET): SSOCs.cpp
$(CXX) $< $(CXXFLAGS) -o [email protected] $(LIB_MP)
$(SSOCs_LDBL_TARGET): SSOCs.cpp
$(CXX) $< $(CXXFLAGS) -o [email protected] $(LIB_LDBL)
$(SSOCs_PERK4_MP_TARGET): SSOCs_PERK4.cpp
$(CXX) $< $(CXXFLAGS) -o [email protected] $(LIB_MP)
$(SSOCs_PERK4_LDBL_TARGET): SSOCs_PERK4.cpp
$(CXX) $< $(CXXFLAGS) -o [email protected] $(LIB_LDBL)
clean:
rm -f *.exe
cleanout:
rm -f *.txt *.exe