-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile.in
59 lines (50 loc) · 1.72 KB
/
Makefile.in
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# @configure_input@
export PCx_ARCH = @PCx_ARCH@
export WSSMP_LIB = @WSSMP_LIB@
export NG_LIB = @NG_LIB@
export TARGETDIR = @TARGETDIR@
export CC ?= @CC@
export CFLAGS ?= @CFLAGS@
export FC ?= @FC@
export FCFLAGS ?= @FCFLAGS@
# default
PCx:: NgPeyton
@echo "***************************************************";
@echo "Building PCx with the Ng Peyton Cholesky solver....";
@echo "***************************************************";
$(MAKE) $(MFLAGS) -C SRC PCx_NgPeyton
NgPeyton::
@echo "***************************************************";
@echo "Building the Ng Peyton Cholesky solver....";
@echo "***************************************************";
$(MAKE) $(MFLAGS) -C Ng-Peyton
PCx_wssmp::
@echo "***************************************************";
@echo "Building PCx with the IBM WSSMP Cholesky solver....";
@echo "***************************************************";
$(MAKE) $(MFLAGS) -C SRC PCx_wssmp
PCx_mysolver::
@echo "***********************************************";
@echo "Building PCx with the user-supplied solver ";
@echo "Requires file ./SRC/mysolver.c and ";
@echo " library ./mysolver/libmysolver.a ";
@echo "***********************************************";
$(MAKE) $(MFLAGS) -C SRC PCx_mysolver
mex:: NgPeyton
@echo "***********************************************";
@echo "The Matlab Interface is only available with ";
@echo " the Ng-Peyton solver. ";
@echo "***********************************************";
$(MAKE) $(MFLAGS) -C mex
doc::
-mkdir DOC/_doxygen
cd SRC; doxygen
$(MAKE) $(MFLAGS) -C DOC html
clean::
rm -f PCx
rm -f *.log
rm -f Ng-Peyton/*.[ao]
rm -f SRC/*.[ao]
rm -f mex/*.mex*
rm -f mex/*.[ao]
rm -f F2C/*.[ao]