Repository navigation
Expand file tree
/
Copy pathMakefile
More file actions
executable file
·66 lines (56 loc) · 1.56 KB
/
Copy pathMakefile
File metadata and controls
executable file
·66 lines (56 loc) · 1.56 KB
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
60
61
62
63
64
65
66
############################################################################
#
# Program: cronos
#
# Module: Makefile
#
# Purpose: Top-level Makefile
#
# Creation date: 29/08/2006
#
# Modified:
#
# Send bug reports, comments or suggestions to
#
############################################################################
include arch.inc
TARGETS=separatrice tsample op libs solver
CLEANTARGETS=cleanseparatrice cleantsample cleanop cleanlibs cleansolver
ifeq ($(CRONOSJET),yes)
TARGETSJET=jams jet
endif
all: $(TARGETS) $(TARGETSJET)
@echo " ################"
@echo " #COMPILATION OK#"
@echo " ################"
chmod ugo+x ./certification/test.sh
chmod ugo+x ./metis
chmod ugo+x ./op/ztailgrep
separatrice:
( cd ./acces/iter; $(MAKE) all )
cleanseparatrice:
( cd ./acces/iter; $(MAKE) clean )
tsample:
( cd ./import/sampling; $(MAKE) all )
cleantsample:
( cd ./import/sampling; $(MAKE) clean )
op:
(cd ./op/xml/xmltree/@xmltree/private; $(MAKE) all )
cleanop:
(cd ./op/xml/xmltree/@xmltree/private; $(MAKE) clean )
libs:
(cd ./libs/metis; $(MAKE) all )
(cd ./libs/MUMPS_4.7.3; $(MAKE) all )
cleanlibs:
(cd ./libs/metis; $(MAKE) clean )
(cd ./libs/MUMPS_4.7.3; $(MAKE) clean )
solver:
(cd ./solver; $(MAKE) all )
cleansolver:
(cd ./solver; $(MAKE) clean )
.PHONY: clean test libs solver
clean: $(CLEANTARGETS)
testmetis:
echo "METIS TESTS";rm -f ./log; time -p certification/test.sh metis | tee -a log
testimasinmetis:
echo "METIS TESTS (IMAS I/O)";rm -f ./log; time -p certification/test.sh imasinmetis | tee -a log