Mercurial > fem-fenics-eugenio
annotate src/Makefile.in @ 33:f992cee90bd6
Compile and register also the new clas expression.h
author | gedeone-octave <marco.vassallo@outlook.com> |
---|---|
date | Thu, 18 Jul 2013 14:28:54 +0200 |
parents | cb21a4ac2314 |
children | 741a7999f590 |
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 |
33
f992cee90bd6
Compile and register also the new clas expression.h
gedeone-octave <marco.vassallo@outlook.com>
parents:
27
diff
changeset
|
3 OCTFILES=fem_init_env.oct fem_init_mesh.oct fem_get_mesh.oct fem_fs.oct fem_bc.oct fem_coeff.oct |
5
e74ff416fd54
File for the configuration and compilation of the pkg
gedeone-octave <marco.vassallo@outlook.com>
parents:
diff
changeset
|
4 |
27
cb21a4ac2314
Compile also new class and functions available.
gedeone-octave <marco.vassallo@outlook.com>
parents:
15
diff
changeset
|
5 LIBS += -ldolfin |
cb21a4ac2314
Compile also new class and functions available.
gedeone-octave <marco.vassallo@outlook.com>
parents:
15
diff
changeset
|
6 |
5
e74ff416fd54
File for the configuration and compilation of the pkg
gedeone-octave <marco.vassallo@outlook.com>
parents:
diff
changeset
|
7 |
e74ff416fd54
File for the configuration and compilation of the pkg
gedeone-octave <marco.vassallo@outlook.com>
parents:
diff
changeset
|
8 all: $(OCTFILES) |
e74ff416fd54
File for the configuration and compilation of the pkg
gedeone-octave <marco.vassallo@outlook.com>
parents:
diff
changeset
|
9 |
15
b760ffba8f63
DEFINE_OCTAVE_ALLOCATOR moved to fem_init_env.cc
gedeone-octave <marco.vassallo@outlook.com>
parents:
12
diff
changeset
|
10 fem_init_env.oct: fem_init_env.o |
b760ffba8f63
DEFINE_OCTAVE_ALLOCATOR moved to fem_init_env.cc
gedeone-octave <marco.vassallo@outlook.com>
parents:
12
diff
changeset
|
11 $(MKOCTFILE) $(CPPFLAGS) -s fem_init_env.o -o $@ $(LDFLAGS) $(LIBS) |
5
e74ff416fd54
File for the configuration and compilation of the pkg
gedeone-octave <marco.vassallo@outlook.com>
parents:
diff
changeset
|
12 |
27
cb21a4ac2314
Compile also new class and functions available.
gedeone-octave <marco.vassallo@outlook.com>
parents:
15
diff
changeset
|
13 fem_init_env.o: fem_init_env.cc mesh.h functionspace.h boundarycondition.h |
15
b760ffba8f63
DEFINE_OCTAVE_ALLOCATOR moved to fem_init_env.cc
gedeone-octave <marco.vassallo@outlook.com>
parents:
12
diff
changeset
|
14 $(MKOCTFILE) $(CPPFLAGS) -c fem_init_env.cc $(LDFLAGS) -o $@ -I. |
5
e74ff416fd54
File for the configuration and compilation of the pkg
gedeone-octave <marco.vassallo@outlook.com>
parents:
diff
changeset
|
15 |
27
cb21a4ac2314
Compile also new class and functions available.
gedeone-octave <marco.vassallo@outlook.com>
parents:
15
diff
changeset
|
16 fem_init_mesh.oct: mesh.o fem_init_mesh.o fem_init_env.o |
15
b760ffba8f63
DEFINE_OCTAVE_ALLOCATOR moved to fem_init_env.cc
gedeone-octave <marco.vassallo@outlook.com>
parents:
12
diff
changeset
|
17 $(MKOCTFILE) $(CPPFLAGS) -s mesh.o fem_init_env.o fem_init_mesh.o -o $@ $(LDFLAGS) $(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
|
18 |
27
cb21a4ac2314
Compile also new class and functions available.
gedeone-octave <marco.vassallo@outlook.com>
parents:
15
diff
changeset
|
19 mesh.o: mesh.cc mesh.h |
5
e74ff416fd54
File for the configuration and compilation of the pkg
gedeone-octave <marco.vassallo@outlook.com>
parents:
diff
changeset
|
20 $(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
|
21 |
27
cb21a4ac2314
Compile also new class and functions available.
gedeone-octave <marco.vassallo@outlook.com>
parents:
15
diff
changeset
|
22 fem_init_mesh.o: fem_init_mesh.cc mesh.cc mesh.h |
5
e74ff416fd54
File for the configuration and compilation of the pkg
gedeone-octave <marco.vassallo@outlook.com>
parents:
diff
changeset
|
23 $(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
|
24 |
27
cb21a4ac2314
Compile also new class and functions available.
gedeone-octave <marco.vassallo@outlook.com>
parents:
15
diff
changeset
|
25 fem_get_mesh.oct: mesh.o fem_get_mesh.o fem_init_env.o |
15
b760ffba8f63
DEFINE_OCTAVE_ALLOCATOR moved to fem_init_env.cc
gedeone-octave <marco.vassallo@outlook.com>
parents:
12
diff
changeset
|
26 $(MKOCTFILE) $(CPPFLAGS) -s mesh.o fem_init_env.o fem_get_mesh.o -o $@ $(LDFLAGS) $(LIBS) |
b760ffba8f63
DEFINE_OCTAVE_ALLOCATOR moved to fem_init_env.cc
gedeone-octave <marco.vassallo@outlook.com>
parents:
12
diff
changeset
|
27 |
27
cb21a4ac2314
Compile also new class and functions available.
gedeone-octave <marco.vassallo@outlook.com>
parents:
15
diff
changeset
|
28 fem_get_mesh.o: fem_get_mesh.cc mesh.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
|
29 $(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
|
30 |
27
cb21a4ac2314
Compile also new class and functions available.
gedeone-octave <marco.vassallo@outlook.com>
parents:
15
diff
changeset
|
31 fem_fs.oct: mesh.o fem_fs.o fem_init_env.o |
15
b760ffba8f63
DEFINE_OCTAVE_ALLOCATOR moved to fem_init_env.cc
gedeone-octave <marco.vassallo@outlook.com>
parents:
12
diff
changeset
|
32 $(MKOCTFILE) $(CPPFLAGS) -s mesh.o fem_init_env.o fem_fs.o -o $@ $(LDFLAGS) $(LIBS) |
b760ffba8f63
DEFINE_OCTAVE_ALLOCATOR moved to fem_init_env.cc
gedeone-octave <marco.vassallo@outlook.com>
parents:
12
diff
changeset
|
33 |
27
cb21a4ac2314
Compile also new class and functions available.
gedeone-octave <marco.vassallo@outlook.com>
parents:
15
diff
changeset
|
34 fem_fs.o: fem_fs.cc functionspace.h Laplace.h |
15
b760ffba8f63
DEFINE_OCTAVE_ALLOCATOR moved to fem_init_env.cc
gedeone-octave <marco.vassallo@outlook.com>
parents:
12
diff
changeset
|
35 $(MKOCTFILE) $(CPPFLAGS) -c fem_fs.cc $(LDFLAGS) -o $@ -I. |
5
e74ff416fd54
File for the configuration and compilation of the pkg
gedeone-octave <marco.vassallo@outlook.com>
parents:
diff
changeset
|
36 |
27
cb21a4ac2314
Compile also new class and functions available.
gedeone-octave <marco.vassallo@outlook.com>
parents:
15
diff
changeset
|
37 fem_bc.oct: fem_bc.o fem_init_env.o |
cb21a4ac2314
Compile also new class and functions available.
gedeone-octave <marco.vassallo@outlook.com>
parents:
15
diff
changeset
|
38 $(MKOCTFILE) $(CPPFLAGS) -s fem_init_env.o fem_bc.o -o $@ $(LDFLAGS) $(LIBS) |
cb21a4ac2314
Compile also new class and functions available.
gedeone-octave <marco.vassallo@outlook.com>
parents:
15
diff
changeset
|
39 |
cb21a4ac2314
Compile also new class and functions available.
gedeone-octave <marco.vassallo@outlook.com>
parents:
15
diff
changeset
|
40 fem_bc.o: fem_bc.cc functionspace.h boundarycondition.h expression.h |
cb21a4ac2314
Compile also new class and functions available.
gedeone-octave <marco.vassallo@outlook.com>
parents:
15
diff
changeset
|
41 $(MKOCTFILE) $(CPPFLAGS) -c fem_bc.cc $(LDFLAGS) -o $@ -I. |
cb21a4ac2314
Compile also new class and functions available.
gedeone-octave <marco.vassallo@outlook.com>
parents:
15
diff
changeset
|
42 |
33
f992cee90bd6
Compile and register also the new clas expression.h
gedeone-octave <marco.vassallo@outlook.com>
parents:
27
diff
changeset
|
43 fem_coeff.oct: fem_coeff.o fem_init_env.o |
f992cee90bd6
Compile and register also the new clas expression.h
gedeone-octave <marco.vassallo@outlook.com>
parents:
27
diff
changeset
|
44 $(MKOCTFILE) $(CPPFLAGS) -s fem_init_env.o fem_coeff.o -o $@ $(LDFLAGS) $(LIBS) |
f992cee90bd6
Compile and register also the new clas expression.h
gedeone-octave <marco.vassallo@outlook.com>
parents:
27
diff
changeset
|
45 |
f992cee90bd6
Compile and register also the new clas expression.h
gedeone-octave <marco.vassallo@outlook.com>
parents:
27
diff
changeset
|
46 fem_coeff.o: fem_coeff.cc expression.h coefficient.h |
f992cee90bd6
Compile and register also the new clas expression.h
gedeone-octave <marco.vassallo@outlook.com>
parents:
27
diff
changeset
|
47 $(MKOCTFILE) $(CPPFLAGS) -c fem_coeff.cc $(LDFLAGS) -o $@ -I. |
f992cee90bd6
Compile and register also the new clas expression.h
gedeone-octave <marco.vassallo@outlook.com>
parents:
27
diff
changeset
|
48 |
27
cb21a4ac2314
Compile also new class and functions available.
gedeone-octave <marco.vassallo@outlook.com>
parents:
15
diff
changeset
|
49 Laplace.h: Laplace.ufl |
cb21a4ac2314
Compile also new class and functions available.
gedeone-octave <marco.vassallo@outlook.com>
parents:
15
diff
changeset
|
50 ffc -l dolfin Laplace.ufl |
cb21a4ac2314
Compile also new class and functions available.
gedeone-octave <marco.vassallo@outlook.com>
parents:
15
diff
changeset
|
51 |
5
e74ff416fd54
File for the configuration and compilation of the pkg
gedeone-octave <marco.vassallo@outlook.com>
parents:
diff
changeset
|
52 clean: |
e74ff416fd54
File for the configuration and compilation of the pkg
gedeone-octave <marco.vassallo@outlook.com>
parents:
diff
changeset
|
53 -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
|
54 |
15
b760ffba8f63
DEFINE_OCTAVE_ALLOCATOR moved to fem_init_env.cc
gedeone-octave <marco.vassallo@outlook.com>
parents:
12
diff
changeset
|
55 cleanall: |
27
cb21a4ac2314
Compile also new class and functions available.
gedeone-octave <marco.vassallo@outlook.com>
parents:
15
diff
changeset
|
56 -rm -f *.o core octave-core *.oct *~ *.xml *.status *.log octave-workspace configure Laplace.h |
15
b760ffba8f63
DEFINE_OCTAVE_ALLOCATOR moved to fem_init_env.cc
gedeone-octave <marco.vassallo@outlook.com>
parents:
12
diff
changeset
|
57 -rm -r autom4te.cache |
b760ffba8f63
DEFINE_OCTAVE_ALLOCATOR moved to fem_init_env.cc
gedeone-octave <marco.vassallo@outlook.com>
parents:
12
diff
changeset
|
58 -rm -f Makefile |
b760ffba8f63
DEFINE_OCTAVE_ALLOCATOR moved to fem_init_env.cc
gedeone-octave <marco.vassallo@outlook.com>
parents:
12
diff
changeset
|
59 |
b760ffba8f63
DEFINE_OCTAVE_ALLOCATOR moved to fem_init_env.cc
gedeone-octave <marco.vassallo@outlook.com>
parents:
12
diff
changeset
|
60 |