Mercurial > fem-fenics-eugenio
annotate src/Makefile.in @ 15:b760ffba8f63
DEFINE_OCTAVE_ALLOCATOR moved to fem_init_env.cc
* fem_init_env.cc: the DEFINE_OCTAVE_ALLOCATOR and
DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA functions are now implemented inside
fem_init_env.cc for all the classes
* mesh.cc: the functions DEFINE_OCTAVE_ALLOCATOR and
DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA are no longer implemented here
author | gedeone-octave <marco.vassallo@outlook.com> |
---|---|
date | Mon, 08 Jul 2013 21:43:24 +0200 |
parents | b7c74c0bdabd |
children | cb21a4ac2314 |
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 |
15
b760ffba8f63
DEFINE_OCTAVE_ALLOCATOR moved to fem_init_env.cc
gedeone-octave <marco.vassallo@outlook.com>
parents:
12
diff
changeset
|
3 OCTFILES=fem_init_env.oct fem_init_mesh.oct fem_get_mesh.oct fem_fs.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 |
15
b760ffba8f63
DEFINE_OCTAVE_ALLOCATOR moved to fem_init_env.cc
gedeone-octave <marco.vassallo@outlook.com>
parents:
12
diff
changeset
|
14 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
|
15 $(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
|
16 |
15
b760ffba8f63
DEFINE_OCTAVE_ALLOCATOR moved to fem_init_env.cc
gedeone-octave <marco.vassallo@outlook.com>
parents:
12
diff
changeset
|
17 fem_init_env.o: fem_init_env.cc mesh.h functionspace.h |
b760ffba8f63
DEFINE_OCTAVE_ALLOCATOR moved to fem_init_env.cc
gedeone-octave <marco.vassallo@outlook.com>
parents:
12
diff
changeset
|
18 $(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
|
19 |
15
b760ffba8f63
DEFINE_OCTAVE_ALLOCATOR moved to fem_init_env.cc
gedeone-octave <marco.vassallo@outlook.com>
parents:
12
diff
changeset
|
20 fem_init_mesh.oct: mesh.o fem_init_mesh.o fem_init_env.o |
b760ffba8f63
DEFINE_OCTAVE_ALLOCATOR moved to fem_init_env.cc
gedeone-octave <marco.vassallo@outlook.com>
parents:
12
diff
changeset
|
21 $(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
|
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 |
15
b760ffba8f63
DEFINE_OCTAVE_ALLOCATOR moved to fem_init_env.cc
gedeone-octave <marco.vassallo@outlook.com>
parents:
12
diff
changeset
|
29 fem_get_mesh.oct: mesh.o fem_get_mesh.o fem_init_env.o |
b760ffba8f63
DEFINE_OCTAVE_ALLOCATOR moved to fem_init_env.cc
gedeone-octave <marco.vassallo@outlook.com>
parents:
12
diff
changeset
|
30 $(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
|
31 |
b760ffba8f63
DEFINE_OCTAVE_ALLOCATOR moved to fem_init_env.cc
gedeone-octave <marco.vassallo@outlook.com>
parents:
12
diff
changeset
|
32 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
|
33 $(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
|
34 |
15
b760ffba8f63
DEFINE_OCTAVE_ALLOCATOR moved to fem_init_env.cc
gedeone-octave <marco.vassallo@outlook.com>
parents:
12
diff
changeset
|
35 fem_fs.oct: mesh.o fem_fs.o fem_init_env.o |
b760ffba8f63
DEFINE_OCTAVE_ALLOCATOR moved to fem_init_env.cc
gedeone-octave <marco.vassallo@outlook.com>
parents:
12
diff
changeset
|
36 $(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
|
37 |
b760ffba8f63
DEFINE_OCTAVE_ALLOCATOR moved to fem_init_env.cc
gedeone-octave <marco.vassallo@outlook.com>
parents:
12
diff
changeset
|
38 fem_fs.o: fem_fs.cc functionspace.h |
b760ffba8f63
DEFINE_OCTAVE_ALLOCATOR moved to fem_init_env.cc
gedeone-octave <marco.vassallo@outlook.com>
parents:
12
diff
changeset
|
39 $(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
|
40 |
e74ff416fd54
File for the configuration and compilation of the pkg
gedeone-octave <marco.vassallo@outlook.com>
parents:
diff
changeset
|
41 clean: |
e74ff416fd54
File for the configuration and compilation of the pkg
gedeone-octave <marco.vassallo@outlook.com>
parents:
diff
changeset
|
42 -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
|
43 |
15
b760ffba8f63
DEFINE_OCTAVE_ALLOCATOR moved to fem_init_env.cc
gedeone-octave <marco.vassallo@outlook.com>
parents:
12
diff
changeset
|
44 cleanall: |
b760ffba8f63
DEFINE_OCTAVE_ALLOCATOR moved to fem_init_env.cc
gedeone-octave <marco.vassallo@outlook.com>
parents:
12
diff
changeset
|
45 -rm -f *.o core octave-core *.oct *~ *.xml *.status *.log octave-workspace configure |
b760ffba8f63
DEFINE_OCTAVE_ALLOCATOR moved to fem_init_env.cc
gedeone-octave <marco.vassallo@outlook.com>
parents:
12
diff
changeset
|
46 -rm -r autom4te.cache |
b760ffba8f63
DEFINE_OCTAVE_ALLOCATOR moved to fem_init_env.cc
gedeone-octave <marco.vassallo@outlook.com>
parents:
12
diff
changeset
|
47 -rm -f Makefile |
b760ffba8f63
DEFINE_OCTAVE_ALLOCATOR moved to fem_init_env.cc
gedeone-octave <marco.vassallo@outlook.com>
parents:
12
diff
changeset
|
48 |
b760ffba8f63
DEFINE_OCTAVE_ALLOCATOR moved to fem_init_env.cc
gedeone-octave <marco.vassallo@outlook.com>
parents:
12
diff
changeset
|
49 |