-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
63 lines (47 loc) · 1.55 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
.PHONY : distclean config rebuild
DIRS = \
esve \
platform \
apps \
examples \
include make/Makefile.node
distclean :
git clean -fdx
config :
autoconf
./configure
rebuild : distclean config
$(MAKE)
doc :
rm -rf documentation/code
mkdir documentation/code
cp ./examples/waves/waves.cxx documentation/code
cp ./examples/monomial/monomial.cxx documentation/code
cp ./examples/poles/poles.cxx documentation/code
cp ./examples/simple3d/simple3d.cxx documentation/code
cp ./examples/simple4d/simple4d.cxx documentation/code
rm -rf documentation/topeviewer-data
cp -R ./apps/topeviewer/data documentation/topeviewer-data
rm -rf documentation/topeviewer-data/.svn
ruby make/topeviewer-data.rb
doxygen ./make/Doxyfile
RUN_TRIPWIRE = ruby tripwire/tripwire.rb . --prefix tripwire --sysinclude --exclude 'template.cxx|tripwire'
tripwire :
$(RUN_TRIPWIRE)
tripwire-undo :
$(RUN_TRIPWIRE) --undo
warnings-compile :
$(MAKE) all WARNINGS="`cat make/warnings`" 2>&1 | tee warnings-compile
warnings :
cat warnings-compile | $(SHELL) make/warnings-filter.sh > warnings
debug-compile :
$(MAKE) all OPTIMIZE="-g -O -D_GLIBCXX_DEBUG -DESVE_DIAGNOSTIC -DESVE_DEMANGLE"
sync :
ruby make/message.rb
ruby make/frames.rb
ruby make/viewers.rb
ruby make/specs.rb
cd apps/topeviewer/help && ruby ../../../make/help-text.rb
cd apps/hopfviewer/help && ruby ../../../make/help-text.rb
cd apps/polynomialviewer/help && ruby ../../../make/help-text.rb
.PHONY : all distclean doc warnings-compile warnings tripwire tripwire-undo debug-modify debug-undo debug-compile sync