forked from homalg-project/homalg_project
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmakefile
146 lines (105 loc) · 3.87 KB
/
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
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
SHELL=/bin/bash
# DIRS=$$(ls -d */)
DIRS=4ti2Interface Convex Gauss ExamplesForHomalg GaussForHomalg GradedModules HomalgToCAS GradedRingForHomalg IO_ForHomalg LocalizeRingForHomalg MatricesForHomalg PolymakeInterface RingsForHomalg SCO ToolsForHomalg ToricVarieties Modules homalg
ECHO=echo
MAKE=make
all: doc test
doc:
-for d in $(DIRS); do ( cd $$d; $(MAKE) doc; cd - ); done
doc: doc_Convex doc_Gauss doc_ExamplesForHomalg doc_GaussForHomalg doc_GradedModules doc_HomalgToCAS doc_GradedRingForHomalg doc_IO_ForHomalg doc_LocalizeRingForHomalg doc_MatricesForHomalg doc_RingsForHomalg doc_SCO doc_ToolsForHomalg doc_ToricVarieties doc_Modules doc_homalg
docclean:
-for d in $(DIRS); do ( cd $$d; $(MAKE) docclean; cd - ); done
# test: test_Modules test_Convex
# -for d in $(DIRS); do ( cd $$d; $(MAKE) test; cd - ); done
test: test_Convex test_Gauss test_ExamplesForHomalg test_GaussForHomalg test_GradedModules test_HomalgToCAS test_GradedRingForHomalg test_IO_ForHomalg test_LocalizeRingForHomalg test_MatricesForHomalg test_RingsForHomalg test_SCO test_ToolsForHomalg test_ToricVarieties test_Modules test_homalg
ci-test: doc
# requires polymake and polymake interface
# cd Convex && $(MAKE) ci-test
cd Gauss && GAPPATH=$$(dirname $$(which gap))/../ ./configure && $(MAKE) && $(MAKE) ci-test
cd ExamplesForHomalg && $(MAKE) ci-test
cd GaussForHomalg && $(MAKE) ci-test
cd GradedModules && $(MAKE) ci-test
cd HomalgToCAS && $(MAKE) ci-test
cd GradedRingForHomalg && $(MAKE) ci-test
cd IO_ForHomalg && $(MAKE) ci-test
cd LocalizeRingForHomalg && $(MAKE) ci-test
cd MatricesForHomalg && $(MAKE) ci-test
# requires MAGMA
# cd RingsForHomalg && $(MAKE) ci-test
cd SCO && $(MAKE) ci-test
# no tests
# cd ToolsForHomalg && $(MAKE) ci-test
# requires Convex
# cd ToricVarieties && $(MAKE) ci-test
cd Modules && $(MAKE) ci-test
cd homalg && $(MAKE) ci-test
############################################
doc_4ti2Interface:
cd 4ti2Interface; $(MAKE) doc; cd -;
doc_Convex:
cd Convex; $(MAKE) doc; cd -;
doc_Gauss:
cd Gauss; $(MAKE) doc; cd -;
doc_ExamplesForHomalg:
cd ExamplesForHomalg; $(MAKE) doc; cd -;
doc_GaussForHomalg:
cd GaussForHomalg; $(MAKE) doc; cd -;
doc_GradedModules:
cd GradedModules; $(MAKE) doc; cd -;
doc_HomalgToCAS:
cd HomalgToCAS; $(MAKE) doc; cd -;
doc_GradedRingForHomalg:
cd GradedRingForHomalg; $(MAKE) doc; cd -;
doc_IO_ForHomalg:
cd IO_ForHomalg; $(MAKE) doc; cd -;
doc_LocalizeRingForHomalg:
cd LocalizeRingForHomalg; $(MAKE) doc; cd -;
doc_MatricesForHomalg:
cd MatricesForHomalg; $(MAKE) doc; cd -;
doc_PolymakeInterface:
cd PolymakeInterface; $(MAKE) doc; cd -;
doc_RingsForHomalg:
cd RingsForHomalg; $(MAKE) doc; cd -;
doc_SCO:
cd SCO; $(MAKE) doc; cd -;
doc_ToolsForHomalg:
cd ToolsForHomalg; $(MAKE) doc; cd -;
doc_ToricVarieties:
cd ToricVarieties; $(MAKE) doc; cd -;
doc_Modules:
cd Modules; $(MAKE) doc; cd -;
doc_homalg:
cd homalg; $(MAKE) doc; cd -;
############################################
test_Convex:
cd Convex; $(MAKE) test; cd -;
test_Gauss:
cd Gauss; $(MAKE) test; cd -;
test_ExamplesForHomalg:
cd ExamplesForHomalg; $(MAKE) test; cd -;
test_GaussForHomalg:
cd GaussForHomalg; $(MAKE) test; cd -;
test_GradedModules:
cd GradedModules; $(MAKE) test; cd -;
test_HomalgToCAS:
cd HomalgToCAS; $(MAKE) test; cd -;
test_GradedRingForHomalg:
cd GradedRingForHomalg; $(MAKE) test; cd -;
test_IO_ForHomalg:
cd IO_ForHomalg; $(MAKE) test; cd -;
test_LocalizeRingForHomalg:
cd LocalizeRingForHomalg; $(MAKE) test; cd -;
test_MatricesForHomalg:
cd MatricesForHomalg; $(MAKE) test; cd -;
test_RingsForHomalg:
cd RingsForHomalg; $(MAKE) test; cd -;
test_SCO:
cd SCO; $(MAKE) test; cd -;
test_ToolsForHomalg:
cd ToolsForHomalg; $(MAKE) test; cd -;
test_ToricVarieties:
cd ToricVarieties; $(MAKE) test; cd -;
test_Modules:
cd Modules; $(MAKE) test; cd -;
test_homalg:
cd homalg; $(MAKE) test; cd -;