Mercurial > fem-fenics-eugenio
annotate src/Makefile.in @ 230:1a3674836579
Provide flags for just-in-time compilation
* src/configure.ac: add inst/private/get_vars.m as configured file
* inst/private/get_vars.m.in: a function returning proper compiler
or linker flags
* inst/provate/generate_makefile.m: use flags
* src/Makefile.in: add get_vars.m in the cleanall recipe
author | Eugenio Gianniti <eugenio.gianniti@mail.polimi.it> |
---|---|
date | Fri, 13 Jun 2014 18:45:40 +0200 |
parents | 194f8c66b45a |
children | e348b84ecb70 |
rev | line source |
---|---|
5
e74ff416fd54
File for the configuration and compilation of the pkg
gedeone-octave <marco.vassallo@outlook.com>
parents:
diff
changeset
|
1 MKOCTFILE ?= mkoctfile |
105
c3cc050b4805
New function for plotting a vector defined on a Mesh
gedeone-octave <marcovass89@hotmail.it>
parents:
92
diff
changeset
|
2 FFC ?= ffc |
5
e74ff416fd54
File for the configuration and compilation of the pkg
gedeone-octave <marco.vassallo@outlook.com>
parents:
diff
changeset
|
3 |
229
194f8c66b45a
Add unused compiler/linker flags
Eugenio Gianniti <eugenio.gianniti@mail.polimi.it>
parents:
218
diff
changeset
|
4 CPPFLAGS='@DENSE_CPPFLAGS@ @DOLFIN_CPPFLAGS@ @EIGEN_CPPFLAGS@ -I.' |
194f8c66b45a
Add unused compiler/linker flags
Eugenio Gianniti <eugenio.gianniti@mail.polimi.it>
parents:
218
diff
changeset
|
5 LIBS_RAW=@EIGEN_LIBS@ @DOLFIN_LIBS@ |
194f8c66b45a
Add unused compiler/linker flags
Eugenio Gianniti <eugenio.gianniti@mail.polimi.it>
parents:
218
diff
changeset
|
6 LIBS=$(patsubst %, "%", $(LIBS_RAW)) |
217
5292e0614efc
New patches submitted from eg123 for the automatization of
gedeone-octave <marcovass89@hotmail.it>
parents:
212
diff
changeset
|
7 |
143
9486cbdc0a2e
Maint: update the documentation
gedeone-octave <marcovass89@hotmail.it>
parents:
129
diff
changeset
|
8 OCTFILES= Mesh.oct \ |
80
16ccfaf1476a
The function DEFINE_OCTAVE_ALLOCATOR and DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA
gedeone-octave <marcovass89@hotmail.it>
parents:
56
diff
changeset
|
9 DirichletBC.oct \ |
16ccfaf1476a
The function DEFINE_OCTAVE_ALLOCATOR and DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA
gedeone-octave <marcovass89@hotmail.it>
parents:
56
diff
changeset
|
10 Expression.oct \ |
16ccfaf1476a
The function DEFINE_OCTAVE_ALLOCATOR and DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA
gedeone-octave <marcovass89@hotmail.it>
parents:
56
diff
changeset
|
11 Function.oct \ |
128
d3c29e38e5d2
New naming convention adopted and Polymorphism for plot and save.
gedeone-octave <marcovass89@hotmail.it>
parents:
123
diff
changeset
|
12 save.oct \ |
92
2ecab16e88e1
Also assemble.cc and assemble_systems.cc are compiled.
gedeone-octave <marcovass89@hotmail.it>
parents:
86
diff
changeset
|
13 assemble.oct \ |
2ecab16e88e1
Also assemble.cc and assemble_systems.cc are compiled.
gedeone-octave <marcovass89@hotmail.it>
parents:
86
diff
changeset
|
14 assemble_system.oct \ |
128
d3c29e38e5d2
New naming convention adopted and Polymorphism for plot and save.
gedeone-octave <marcovass89@hotmail.it>
parents:
123
diff
changeset
|
15 plot_func.oct \ |
d3c29e38e5d2
New naming convention adopted and Polymorphism for plot and save.
gedeone-octave <marcovass89@hotmail.it>
parents:
123
diff
changeset
|
16 plot_mesh.oct \ |
106
6b4a77dc734f
New wrapper function for dolfin::SubSpace
gedeone-octave <marcovass89@hotmail.it>
parents:
105
diff
changeset
|
17 SubSpace.oct \ |
218
8a3361bfa434
interpolate function added
Eugenio Gianniti <eugenio.gianniti@mail.polimi.it>
parents:
217
diff
changeset
|
18 feval.oct \ |
8a3361bfa434
interpolate function added
Eugenio Gianniti <eugenio.gianniti@mail.polimi.it>
parents:
217
diff
changeset
|
19 interpolate.oct |
92
2ecab16e88e1
Also assemble.cc and assemble_systems.cc are compiled.
gedeone-octave <marcovass89@hotmail.it>
parents:
86
diff
changeset
|
20 |
5
e74ff416fd54
File for the configuration and compilation of the pkg
gedeone-octave <marco.vassallo@outlook.com>
parents:
diff
changeset
|
21 |
e74ff416fd54
File for the configuration and compilation of the pkg
gedeone-octave <marco.vassallo@outlook.com>
parents:
diff
changeset
|
22 all: $(OCTFILES) |
e74ff416fd54
File for the configuration and compilation of the pkg
gedeone-octave <marco.vassallo@outlook.com>
parents:
diff
changeset
|
23 |
15
b760ffba8f63
DEFINE_OCTAVE_ALLOCATOR moved to fem_init_env.cc
gedeone-octave <marco.vassallo@outlook.com>
parents:
12
diff
changeset
|
24 fem_init_env.oct: fem_init_env.o |
229
194f8c66b45a
Add unused compiler/linker flags
Eugenio Gianniti <eugenio.gianniti@mail.polimi.it>
parents:
218
diff
changeset
|
25 CPPFLAGS=$(CPPFLAGS) $(MKOCTFILE) fem_init_env.o -o $@ $(LIBS) |
5
e74ff416fd54
File for the configuration and compilation of the pkg
gedeone-octave <marco.vassallo@outlook.com>
parents:
diff
changeset
|
26 |
92
2ecab16e88e1
Also assemble.cc and assemble_systems.cc are compiled.
gedeone-octave <marcovass89@hotmail.it>
parents:
86
diff
changeset
|
27 fem_init_env.o: fem_init_env.cc mesh.h functionspace.h boundarycondition.h function.h coefficient.h form.h |
229
194f8c66b45a
Add unused compiler/linker flags
Eugenio Gianniti <eugenio.gianniti@mail.polimi.it>
parents:
218
diff
changeset
|
28 CPPFLAGS=$(CPPFLAGS) $(MKOCTFILE) -c fem_init_env.cc -o $@ |
5
e74ff416fd54
File for the configuration and compilation of the pkg
gedeone-octave <marco.vassallo@outlook.com>
parents:
diff
changeset
|
29 |
86
66e4aa87c9a1
Rename the function accordingly to dolfin
gedeone-octave <marcovass89@hotmail.it>
parents:
80
diff
changeset
|
30 Mesh.oct: Mesh.o |
229
194f8c66b45a
Add unused compiler/linker flags
Eugenio Gianniti <eugenio.gianniti@mail.polimi.it>
parents:
218
diff
changeset
|
31 CPPFLAGS=$(CPPFLAGS) $(MKOCTFILE) Mesh.o -o $@ $(LIBS) |
12
b7c74c0bdabd
New functions which get a (p,e,t) matrix from a mesh object
gedeone-octave <marco.vassallo@outlook.com>
parents:
5
diff
changeset
|
32 |
86
66e4aa87c9a1
Rename the function accordingly to dolfin
gedeone-octave <marcovass89@hotmail.it>
parents:
80
diff
changeset
|
33 Mesh.o: Mesh.cc mesh.h |
229
194f8c66b45a
Add unused compiler/linker flags
Eugenio Gianniti <eugenio.gianniti@mail.polimi.it>
parents:
218
diff
changeset
|
34 CPPFLAGS=$(CPPFLAGS) $(MKOCTFILE) -c Mesh.cc -o $@ |
5
e74ff416fd54
File for the configuration and compilation of the pkg
gedeone-octave <marco.vassallo@outlook.com>
parents:
diff
changeset
|
35 |
80
16ccfaf1476a
The function DEFINE_OCTAVE_ALLOCATOR and DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA
gedeone-octave <marcovass89@hotmail.it>
parents:
56
diff
changeset
|
36 fem_get_mesh.oct: fem_get_mesh.o |
229
194f8c66b45a
Add unused compiler/linker flags
Eugenio Gianniti <eugenio.gianniti@mail.polimi.it>
parents:
218
diff
changeset
|
37 CPPFLAGS=$(CPPFLAGS) $(MKOCTFILE) fem_get_mesh.o -o $@ $(LIBS) |
15
b760ffba8f63
DEFINE_OCTAVE_ALLOCATOR moved to fem_init_env.cc
gedeone-octave <marco.vassallo@outlook.com>
parents:
12
diff
changeset
|
38 |
80
16ccfaf1476a
The function DEFINE_OCTAVE_ALLOCATOR and DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA
gedeone-octave <marcovass89@hotmail.it>
parents:
56
diff
changeset
|
39 fem_get_mesh.o: fem_get_mesh.cc |
229
194f8c66b45a
Add unused compiler/linker flags
Eugenio Gianniti <eugenio.gianniti@mail.polimi.it>
parents:
218
diff
changeset
|
40 CPPFLAGS=$(CPPFLAGS) $(MKOCTFILE) -c fem_get_mesh.cc -o $@ |
12
b7c74c0bdabd
New functions which get a (p,e,t) matrix from a mesh object
gedeone-octave <marco.vassallo@outlook.com>
parents:
5
diff
changeset
|
41 |
80
16ccfaf1476a
The function DEFINE_OCTAVE_ALLOCATOR and DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA
gedeone-octave <marcovass89@hotmail.it>
parents:
56
diff
changeset
|
42 DirichletBC.oct: DirichletBC.o |
229
194f8c66b45a
Add unused compiler/linker flags
Eugenio Gianniti <eugenio.gianniti@mail.polimi.it>
parents:
218
diff
changeset
|
43 CPPFLAGS=$(CPPFLAGS) $(MKOCTFILE) DirichletBC.o -o $@ $(LIBS) |
27
cb21a4ac2314
Compile also new class and functions available.
gedeone-octave <marco.vassallo@outlook.com>
parents:
15
diff
changeset
|
44 |
80
16ccfaf1476a
The function DEFINE_OCTAVE_ALLOCATOR and DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA
gedeone-octave <marcovass89@hotmail.it>
parents:
56
diff
changeset
|
45 DirichletBC.o: DirichletBC.cc functionspace.h boundarycondition.h expression.h |
229
194f8c66b45a
Add unused compiler/linker flags
Eugenio Gianniti <eugenio.gianniti@mail.polimi.it>
parents:
218
diff
changeset
|
46 CPPFLAGS=$(CPPFLAGS) $(MKOCTFILE) -c DirichletBC.cc -o $@ |
27
cb21a4ac2314
Compile also new class and functions available.
gedeone-octave <marco.vassallo@outlook.com>
parents:
15
diff
changeset
|
47 |
80
16ccfaf1476a
The function DEFINE_OCTAVE_ALLOCATOR and DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA
gedeone-octave <marcovass89@hotmail.it>
parents:
56
diff
changeset
|
48 Expression.oct: Expression.o |
229
194f8c66b45a
Add unused compiler/linker flags
Eugenio Gianniti <eugenio.gianniti@mail.polimi.it>
parents:
218
diff
changeset
|
49 CPPFLAGS=$(CPPFLAGS) $(MKOCTFILE) Expression.o -o $@ $(LIBS) |
33
f992cee90bd6
Compile and register also the new clas expression.h
gedeone-octave <marco.vassallo@outlook.com>
parents:
27
diff
changeset
|
50 |
80
16ccfaf1476a
The function DEFINE_OCTAVE_ALLOCATOR and DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA
gedeone-octave <marcovass89@hotmail.it>
parents:
56
diff
changeset
|
51 Expression.o: Expression.cc expression.h coefficient.h |
229
194f8c66b45a
Add unused compiler/linker flags
Eugenio Gianniti <eugenio.gianniti@mail.polimi.it>
parents:
218
diff
changeset
|
52 CPPFLAGS=$(CPPFLAGS) $(MKOCTFILE) -c Expression.cc -o $@ |
33
f992cee90bd6
Compile and register also the new clas expression.h
gedeone-octave <marco.vassallo@outlook.com>
parents:
27
diff
changeset
|
53 |
80
16ccfaf1476a
The function DEFINE_OCTAVE_ALLOCATOR and DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA
gedeone-octave <marcovass89@hotmail.it>
parents:
56
diff
changeset
|
54 Function.oct: Function.o |
229
194f8c66b45a
Add unused compiler/linker flags
Eugenio Gianniti <eugenio.gianniti@mail.polimi.it>
parents:
218
diff
changeset
|
55 CPPFLAGS=$(CPPFLAGS) $(MKOCTFILE) Function.o -o $@ $(LIBS) |
47
fe29ca22b1ec
Functions which plot and save a function object.
gedeone-octave <marco.vassallo@outlook.com>
parents:
42
diff
changeset
|
56 |
80
16ccfaf1476a
The function DEFINE_OCTAVE_ALLOCATOR and DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA
gedeone-octave <marcovass89@hotmail.it>
parents:
56
diff
changeset
|
57 Function.o: Function.cc function.h |
229
194f8c66b45a
Add unused compiler/linker flags
Eugenio Gianniti <eugenio.gianniti@mail.polimi.it>
parents:
218
diff
changeset
|
58 CPPFLAGS=$(CPPFLAGS) $(MKOCTFILE) -c Function.cc -o $@ |
47
fe29ca22b1ec
Functions which plot and save a function object.
gedeone-octave <marco.vassallo@outlook.com>
parents:
42
diff
changeset
|
59 |
92
2ecab16e88e1
Also assemble.cc and assemble_systems.cc are compiled.
gedeone-octave <marcovass89@hotmail.it>
parents:
86
diff
changeset
|
60 assemble.oct: assemble.o |
229
194f8c66b45a
Add unused compiler/linker flags
Eugenio Gianniti <eugenio.gianniti@mail.polimi.it>
parents:
218
diff
changeset
|
61 CPPFLAGS=$(CPPFLAGS) $(MKOCTFILE) assemble.o -o $@ $(LIBS) |
92
2ecab16e88e1
Also assemble.cc and assemble_systems.cc are compiled.
gedeone-octave <marcovass89@hotmail.it>
parents:
86
diff
changeset
|
62 |
2ecab16e88e1
Also assemble.cc and assemble_systems.cc are compiled.
gedeone-octave <marcovass89@hotmail.it>
parents:
86
diff
changeset
|
63 assemble.o: assemble.cc form.h boundarycondition.h |
229
194f8c66b45a
Add unused compiler/linker flags
Eugenio Gianniti <eugenio.gianniti@mail.polimi.it>
parents:
218
diff
changeset
|
64 CPPFLAGS=$(CPPFLAGS) $(MKOCTFILE) -c assemble.cc -o $@ |
92
2ecab16e88e1
Also assemble.cc and assemble_systems.cc are compiled.
gedeone-octave <marcovass89@hotmail.it>
parents:
86
diff
changeset
|
65 |
2ecab16e88e1
Also assemble.cc and assemble_systems.cc are compiled.
gedeone-octave <marcovass89@hotmail.it>
parents:
86
diff
changeset
|
66 assemble_system.oct: assemble_system.o |
229
194f8c66b45a
Add unused compiler/linker flags
Eugenio Gianniti <eugenio.gianniti@mail.polimi.it>
parents:
218
diff
changeset
|
67 CPPFLAGS=$(CPPFLAGS) $(MKOCTFILE) assemble_system.o -o $@ $(LIBS) |
92
2ecab16e88e1
Also assemble.cc and assemble_systems.cc are compiled.
gedeone-octave <marcovass89@hotmail.it>
parents:
86
diff
changeset
|
68 |
2ecab16e88e1
Also assemble.cc and assemble_systems.cc are compiled.
gedeone-octave <marcovass89@hotmail.it>
parents:
86
diff
changeset
|
69 assemble_system.o: assemble_system.cc form.h boundarycondition.h |
229
194f8c66b45a
Add unused compiler/linker flags
Eugenio Gianniti <eugenio.gianniti@mail.polimi.it>
parents:
218
diff
changeset
|
70 CPPFLAGS=$(CPPFLAGS) $(MKOCTFILE) -c assemble_system.cc -o $@ |
92
2ecab16e88e1
Also assemble.cc and assemble_systems.cc are compiled.
gedeone-octave <marcovass89@hotmail.it>
parents:
86
diff
changeset
|
71 |
155
22de20d78e27
Reduced use of post_install.m
gedeone-octave <marcovass89@hotmail.it>
parents:
143
diff
changeset
|
72 save.oct: save.o mkfunction |
229
194f8c66b45a
Add unused compiler/linker flags
Eugenio Gianniti <eugenio.gianniti@mail.polimi.it>
parents:
218
diff
changeset
|
73 CPPFLAGS=$(CPPFLAGS) $(MKOCTFILE) save.o -o ./@function/save.oct $(LIBS) |
47
fe29ca22b1ec
Functions which plot and save a function object.
gedeone-octave <marco.vassallo@outlook.com>
parents:
42
diff
changeset
|
74 |
129
d003a8d6ac58
Fix error made in the previous commit.
gedeone-octave <marcovass89@hotmail.it>
parents:
128
diff
changeset
|
75 save.o: save.cc |
229
194f8c66b45a
Add unused compiler/linker flags
Eugenio Gianniti <eugenio.gianniti@mail.polimi.it>
parents:
218
diff
changeset
|
76 CPPFLAGS=$(CPPFLAGS) $(MKOCTFILE) -c save.cc -o $@ |
47
fe29ca22b1ec
Functions which plot and save a function object.
gedeone-octave <marco.vassallo@outlook.com>
parents:
42
diff
changeset
|
77 |
155
22de20d78e27
Reduced use of post_install.m
gedeone-octave <marcovass89@hotmail.it>
parents:
143
diff
changeset
|
78 mkfunction: |
212
ca7eb016cf64
Extend feval function to support also passing the coordinates separately
gedeone-octave <marcovass89@hotmail.it>
parents:
171
diff
changeset
|
79 mkdir -p @function |
155
22de20d78e27
Reduced use of post_install.m
gedeone-octave <marcovass89@hotmail.it>
parents:
143
diff
changeset
|
80 |
22de20d78e27
Reduced use of post_install.m
gedeone-octave <marcovass89@hotmail.it>
parents:
143
diff
changeset
|
81 mkmesh: |
212
ca7eb016cf64
Extend feval function to support also passing the coordinates separately
gedeone-octave <marcovass89@hotmail.it>
parents:
171
diff
changeset
|
82 mkdir -p @mesh |
155
22de20d78e27
Reduced use of post_install.m
gedeone-octave <marcovass89@hotmail.it>
parents:
143
diff
changeset
|
83 |
22de20d78e27
Reduced use of post_install.m
gedeone-octave <marcovass89@hotmail.it>
parents:
143
diff
changeset
|
84 plot_mesh.oct: plot_mesh.o mkmesh |
229
194f8c66b45a
Add unused compiler/linker flags
Eugenio Gianniti <eugenio.gianniti@mail.polimi.it>
parents:
218
diff
changeset
|
85 CPPFLAGS=$(CPPFLAGS) $(MKOCTFILE) plot_mesh.o -o ./@mesh/plot.oct $(LIBS) |
155
22de20d78e27
Reduced use of post_install.m
gedeone-octave <marcovass89@hotmail.it>
parents:
143
diff
changeset
|
86 |
22de20d78e27
Reduced use of post_install.m
gedeone-octave <marcovass89@hotmail.it>
parents:
143
diff
changeset
|
87 plot_mesh.o: plot_mesh.cc Plot_2d.h mesh.h Plot_3d.h |
229
194f8c66b45a
Add unused compiler/linker flags
Eugenio Gianniti <eugenio.gianniti@mail.polimi.it>
parents:
218
diff
changeset
|
88 CPPFLAGS=$(CPPFLAGS) $(MKOCTFILE) -c plot_mesh.cc -o $@ |
105
c3cc050b4805
New function for plotting a vector defined on a Mesh
gedeone-octave <marcovass89@hotmail.it>
parents:
92
diff
changeset
|
89 |
c3cc050b4805
New function for plotting a vector defined on a Mesh
gedeone-octave <marcovass89@hotmail.it>
parents:
92
diff
changeset
|
90 Plot_2d.h: Plot_2d.ufl |
c3cc050b4805
New function for plotting a vector defined on a Mesh
gedeone-octave <marcovass89@hotmail.it>
parents:
92
diff
changeset
|
91 $(FFC) -l dolfin Plot_2d.ufl |
c3cc050b4805
New function for plotting a vector defined on a Mesh
gedeone-octave <marcovass89@hotmail.it>
parents:
92
diff
changeset
|
92 |
128
d3c29e38e5d2
New naming convention adopted and Polymorphism for plot and save.
gedeone-octave <marcovass89@hotmail.it>
parents:
123
diff
changeset
|
93 Plot_3d.h: Plot_3d.ufl |
d3c29e38e5d2
New naming convention adopted and Polymorphism for plot and save.
gedeone-octave <marcovass89@hotmail.it>
parents:
123
diff
changeset
|
94 $(FFC) -l dolfin Plot_3d.ufl |
d3c29e38e5d2
New naming convention adopted and Polymorphism for plot and save.
gedeone-octave <marcovass89@hotmail.it>
parents:
123
diff
changeset
|
95 |
155
22de20d78e27
Reduced use of post_install.m
gedeone-octave <marcovass89@hotmail.it>
parents:
143
diff
changeset
|
96 plot_func.oct: plot_func.o mkfunction |
229
194f8c66b45a
Add unused compiler/linker flags
Eugenio Gianniti <eugenio.gianniti@mail.polimi.it>
parents:
218
diff
changeset
|
97 CPPFLAGS=$(CPPFLAGS) $(MKOCTFILE) plot_func.o -o ./@function/plot.oct $(LIBS) |
155
22de20d78e27
Reduced use of post_install.m
gedeone-octave <marcovass89@hotmail.it>
parents:
143
diff
changeset
|
98 |
22de20d78e27
Reduced use of post_install.m
gedeone-octave <marcovass89@hotmail.it>
parents:
143
diff
changeset
|
99 plot_func.o: plot_func.cc Plot_2d.h mesh.h Plot_3d.h |
229
194f8c66b45a
Add unused compiler/linker flags
Eugenio Gianniti <eugenio.gianniti@mail.polimi.it>
parents:
218
diff
changeset
|
100 CPPFLAGS=$(CPPFLAGS) $(MKOCTFILE) -c plot_func.cc -o $@ |
105
c3cc050b4805
New function for plotting a vector defined on a Mesh
gedeone-octave <marcovass89@hotmail.it>
parents:
92
diff
changeset
|
101 |
106
6b4a77dc734f
New wrapper function for dolfin::SubSpace
gedeone-octave <marcovass89@hotmail.it>
parents:
105
diff
changeset
|
102 SubSpace.oct: SubSpace.cc functionspace.h |
229
194f8c66b45a
Add unused compiler/linker flags
Eugenio Gianniti <eugenio.gianniti@mail.polimi.it>
parents:
218
diff
changeset
|
103 CPPFLAGS=$(CPPFLAGS) $(MKOCTFILE) -I. SubSpace.cc $(LIBS) |
106
6b4a77dc734f
New wrapper function for dolfin::SubSpace
gedeone-octave <marcovass89@hotmail.it>
parents:
105
diff
changeset
|
104 |
155
22de20d78e27
Reduced use of post_install.m
gedeone-octave <marcovass89@hotmail.it>
parents:
143
diff
changeset
|
105 feval.oct: feval.o mkfunction |
229
194f8c66b45a
Add unused compiler/linker flags
Eugenio Gianniti <eugenio.gianniti@mail.polimi.it>
parents:
218
diff
changeset
|
106 CPPFLAGS=$(CPPFLAGS) $(MKOCTFILE) feval.o -o ./@function/feval.oct $(LIBS) |
111
011ad0c352f7
New function for the evaluation of an object of type function in a given point
gedeone-octave <marcovass89@hotmail.it>
parents:
106
diff
changeset
|
107 |
155
22de20d78e27
Reduced use of post_install.m
gedeone-octave <marcovass89@hotmail.it>
parents:
143
diff
changeset
|
108 feval.o: feval.cc function.h |
229
194f8c66b45a
Add unused compiler/linker flags
Eugenio Gianniti <eugenio.gianniti@mail.polimi.it>
parents:
218
diff
changeset
|
109 CPPFLAGS=$(CPPFLAGS) $(MKOCTFILE) -c feval.cc -o $@ |
105
c3cc050b4805
New function for plotting a vector defined on a Mesh
gedeone-octave <marcovass89@hotmail.it>
parents:
92
diff
changeset
|
110 |
218
8a3361bfa434
interpolate function added
Eugenio Gianniti <eugenio.gianniti@mail.polimi.it>
parents:
217
diff
changeset
|
111 interpolate.oct: interpolate.o |
229
194f8c66b45a
Add unused compiler/linker flags
Eugenio Gianniti <eugenio.gianniti@mail.polimi.it>
parents:
218
diff
changeset
|
112 CPPFLAGS=$(CPPFLAGS) $(MKOCTFILE) interpolate.o -o $@ $(LIBS) |
218
8a3361bfa434
interpolate function added
Eugenio Gianniti <eugenio.gianniti@mail.polimi.it>
parents:
217
diff
changeset
|
113 |
8a3361bfa434
interpolate function added
Eugenio Gianniti <eugenio.gianniti@mail.polimi.it>
parents:
217
diff
changeset
|
114 interpolate.o: interpolate.cc function.h |
229
194f8c66b45a
Add unused compiler/linker flags
Eugenio Gianniti <eugenio.gianniti@mail.polimi.it>
parents:
218
diff
changeset
|
115 CPPFLAGS=$(CPPFLAGS) $(MKOCTFILE) -c interpolate.cc -o $@ |
218
8a3361bfa434
interpolate function added
Eugenio Gianniti <eugenio.gianniti@mail.polimi.it>
parents:
217
diff
changeset
|
116 |
5
e74ff416fd54
File for the configuration and compilation of the pkg
gedeone-octave <marco.vassallo@outlook.com>
parents:
diff
changeset
|
117 clean: |
229
194f8c66b45a
Add unused compiler/linker flags
Eugenio Gianniti <eugenio.gianniti@mail.polimi.it>
parents:
218
diff
changeset
|
118 $(RM) *.o core octave-core *.oct *~ *.xml |
5
e74ff416fd54
File for the configuration and compilation of the pkg
gedeone-octave <marco.vassallo@outlook.com>
parents:
diff
changeset
|
119 |
15
b760ffba8f63
DEFINE_OCTAVE_ALLOCATOR moved to fem_init_env.cc
gedeone-octave <marco.vassallo@outlook.com>
parents:
12
diff
changeset
|
120 cleanall: |
229
194f8c66b45a
Add unused compiler/linker flags
Eugenio Gianniti <eugenio.gianniti@mail.polimi.it>
parents:
218
diff
changeset
|
121 $(RM) *.o core octave-core *.oct *~ *.xml *.status *.log \ |
56
4868e535fc8a
Compile only functions which don't need file defined from the user.
gedeone-octave <marco.vassallo@outlook.com>
parents:
47
diff
changeset
|
122 octave-workspace configure *.pvd *.vtu |
229
194f8c66b45a
Add unused compiler/linker flags
Eugenio Gianniti <eugenio.gianniti@mail.polimi.it>
parents:
218
diff
changeset
|
123 $(RM) -r autom4te.cache |
230
1a3674836579
Provide flags for just-in-time compilation
Eugenio Gianniti <eugenio.gianniti@mail.polimi.it>
parents:
229
diff
changeset
|
124 $(RM) ../inst/private/get_vars.m |
229
194f8c66b45a
Add unused compiler/linker flags
Eugenio Gianniti <eugenio.gianniti@mail.polimi.it>
parents:
218
diff
changeset
|
125 $(RM) Makefile |
15
b760ffba8f63
DEFINE_OCTAVE_ALLOCATOR moved to fem_init_env.cc
gedeone-octave <marco.vassallo@outlook.com>
parents:
12
diff
changeset
|
126 |
b760ffba8f63
DEFINE_OCTAVE_ALLOCATOR moved to fem_init_env.cc
gedeone-octave <marco.vassallo@outlook.com>
parents:
12
diff
changeset
|
127 |