annotate src/Makefile.in @ 12:b7c74c0bdabd

New functions which get a (p,e,t) matrix from a mesh object * Makefile.in: added the option to compile also this function * fem_init_mesh.cc: dld function which call the mesh::get_pet method * mesh.cc mesh.h: added the new method get_pet which return a mesh as an octave_sclar_map. (code similar to mshm_dolfin_read)
author gedeone-octave <marco.vassallo@outlook.com>
date Sat, 06 Jul 2013 00:39:34 +0200
parents e74ff416fd54
children b760ffba8f63
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
e74ff416fd54 File for the configuration and compilation of the pkg
gedeone-octave <marco.vassallo@outlook.com>
parents:
diff changeset
2
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
3 OCTFILES=fem_init_env.oct fem_init_mesh.oct fem_get_mesh.oct
5
e74ff416fd54 File for the configuration and compilation of the pkg
gedeone-octave <marco.vassallo@outlook.com>
parents:
diff changeset
4 LIBS =
e74ff416fd54 File for the configuration and compilation of the pkg
gedeone-octave <marco.vassallo@outlook.com>
parents:
diff changeset
5
e74ff416fd54 File for the configuration and compilation of the pkg
gedeone-octave <marco.vassallo@outlook.com>
parents:
diff changeset
6 HAVE_DOLFIN_H = @HAVE_DOLFIN_H@
e74ff416fd54 File for the configuration and compilation of the pkg
gedeone-octave <marco.vassallo@outlook.com>
parents:
diff changeset
7 ifdef HAVE_DOLFIN_H
e74ff416fd54 File for the configuration and compilation of the pkg
gedeone-octave <marco.vassallo@outlook.com>
parents:
diff changeset
8 CPPFLAGS += -DHAVE_DOLFIN_H
e74ff416fd54 File for the configuration and compilation of the pkg
gedeone-octave <marco.vassallo@outlook.com>
parents:
diff changeset
9 LIBS += -ldolfin
e74ff416fd54 File for the configuration and compilation of the pkg
gedeone-octave <marco.vassallo@outlook.com>
parents:
diff changeset
10 endif
e74ff416fd54 File for the configuration and compilation of the pkg
gedeone-octave <marco.vassallo@outlook.com>
parents:
diff changeset
11
e74ff416fd54 File for the configuration and compilation of the pkg
gedeone-octave <marco.vassallo@outlook.com>
parents:
diff changeset
12 all: $(OCTFILES)
e74ff416fd54 File for the configuration and compilation of the pkg
gedeone-octave <marco.vassallo@outlook.com>
parents:
diff changeset
13
e74ff416fd54 File for the configuration and compilation of the pkg
gedeone-octave <marco.vassallo@outlook.com>
parents:
diff changeset
14 fem_init_env.oct: mesh.o fem_init_env.o
e74ff416fd54 File for the configuration and compilation of the pkg
gedeone-octave <marco.vassallo@outlook.com>
parents:
diff changeset
15 $(MKOCTFILE) $(CPPFLAGS) -s mesh.o fem_init_env.o -o $@ $(LDFLAGS) $(LIBS)
e74ff416fd54 File for the configuration and compilation of the pkg
gedeone-octave <marco.vassallo@outlook.com>
parents:
diff changeset
16
e74ff416fd54 File for the configuration and compilation of the pkg
gedeone-octave <marco.vassallo@outlook.com>
parents:
diff changeset
17 fem_init_mesh.oct: mesh.o fem_init_mesh.o
e74ff416fd54 File for the configuration and compilation of the pkg
gedeone-octave <marco.vassallo@outlook.com>
parents:
diff changeset
18 $(MKOCTFILE) $(CPPFLAGS) -s mesh.o fem_init_mesh.o -o $@ $(LDFLAGS) $(LIBS)
e74ff416fd54 File for the configuration and compilation of the pkg
gedeone-octave <marco.vassallo@outlook.com>
parents:
diff changeset
19
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
20 fem_get_mesh.oct: mesh.o fem_get_mesh.o
b7c74c0bdabd New functions which get a (p,e,t) matrix from a mesh object
gedeone-octave <marco.vassallo@outlook.com>
parents: 5
diff changeset
21 $(MKOCTFILE) $(CPPFLAGS) -s mesh.o fem_get_mesh.o -o $@ $(LDFLAGS) $(LIBS)
b7c74c0bdabd New functions which get a (p,e,t) matrix from a mesh object
gedeone-octave <marco.vassallo@outlook.com>
parents: 5
diff changeset
22
5
e74ff416fd54 File for the configuration and compilation of the pkg
gedeone-octave <marco.vassallo@outlook.com>
parents:
diff changeset
23 mesh.o: mesh.cc mesh.h
e74ff416fd54 File for the configuration and compilation of the pkg
gedeone-octave <marco.vassallo@outlook.com>
parents:
diff changeset
24 $(MKOCTFILE) $(CPPFLAGS) -c mesh.cc $(LDFLAGS) -o $@ -I.
e74ff416fd54 File for the configuration and compilation of the pkg
gedeone-octave <marco.vassallo@outlook.com>
parents:
diff changeset
25
e74ff416fd54 File for the configuration and compilation of the pkg
gedeone-octave <marco.vassallo@outlook.com>
parents:
diff changeset
26 fem_init_mesh.o: fem_init_mesh.cc mesh.cc mesh.h
e74ff416fd54 File for the configuration and compilation of the pkg
gedeone-octave <marco.vassallo@outlook.com>
parents:
diff changeset
27 $(MKOCTFILE) $(CPPFLAGS) -c fem_init_mesh.cc $(LDFLAGS) -o $@ -I.
e74ff416fd54 File for the configuration and compilation of the pkg
gedeone-octave <marco.vassallo@outlook.com>
parents:
diff changeset
28
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
29 fem_get_mesh.o: fem_get_mesh.cc mesh.cc mesh.h
b7c74c0bdabd New functions which get a (p,e,t) matrix from a mesh object
gedeone-octave <marco.vassallo@outlook.com>
parents: 5
diff changeset
30 $(MKOCTFILE) $(CPPFLAGS) -c fem_get_mesh.cc $(LDFLAGS) -o $@ -I.
b7c74c0bdabd New functions which get a (p,e,t) matrix from a mesh object
gedeone-octave <marco.vassallo@outlook.com>
parents: 5
diff changeset
31
5
e74ff416fd54 File for the configuration and compilation of the pkg
gedeone-octave <marco.vassallo@outlook.com>
parents:
diff changeset
32 fem_init_env.o: fem_init_env.cc mesh.cc mesh.h
e74ff416fd54 File for the configuration and compilation of the pkg
gedeone-octave <marco.vassallo@outlook.com>
parents:
diff changeset
33 $(MKOCTFILE) $(CPPFLAGS) -c fem_init_env.cc $(LDFLAGS) -o $@ -I.
e74ff416fd54 File for the configuration and compilation of the pkg
gedeone-octave <marco.vassallo@outlook.com>
parents:
diff changeset
34
e74ff416fd54 File for the configuration and compilation of the pkg
gedeone-octave <marco.vassallo@outlook.com>
parents:
diff changeset
35 clean:
e74ff416fd54 File for the configuration and compilation of the pkg
gedeone-octave <marco.vassallo@outlook.com>
parents:
diff changeset
36 -rm -f *.o core octave-core *.oct *~ *.xml
e74ff416fd54 File for the configuration and compilation of the pkg
gedeone-octave <marco.vassallo@outlook.com>
parents:
diff changeset
37