diff 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
line wrap: on
line diff
--- a/src/Makefile.in	Mon Jul 08 21:35:44 2013 +0200
+++ b/src/Makefile.in	Mon Jul 08 21:43:24 2013 +0200
@@ -1,6 +1,6 @@
 MKOCTFILE ?= mkoctfile
 
-OCTFILES=fem_init_env.oct fem_init_mesh.oct fem_get_mesh.oct
+OCTFILES=fem_init_env.oct fem_init_mesh.oct fem_get_mesh.oct fem_fs.oct
 LIBS = 
 
 HAVE_DOLFIN_H = @HAVE_DOLFIN_H@
@@ -11,14 +11,14 @@
 
 all: $(OCTFILES)
 
-fem_init_env.oct:  mesh.o fem_init_env.o
-	$(MKOCTFILE) $(CPPFLAGS) -s mesh.o fem_init_env.o -o $@ $(LDFLAGS) $(LIBS)
+fem_init_env.oct: fem_init_env.o
+	$(MKOCTFILE) $(CPPFLAGS) -s fem_init_env.o -o $@ $(LDFLAGS) $(LIBS)
 
-fem_init_mesh.oct:  mesh.o fem_init_mesh.o
-	$(MKOCTFILE) $(CPPFLAGS) -s mesh.o fem_init_mesh.o -o $@ $(LDFLAGS) $(LIBS)
+fem_init_env.o:  fem_init_env.cc mesh.h functionspace.h
+	$(MKOCTFILE) $(CPPFLAGS) -c fem_init_env.cc $(LDFLAGS) -o $@ -I.
 
-fem_get_mesh.oct:  mesh.o fem_get_mesh.o
-	$(MKOCTFILE) $(CPPFLAGS) -s mesh.o fem_get_mesh.o -o $@ $(LDFLAGS) $(LIBS)
+fem_init_mesh.oct:  mesh.o fem_init_mesh.o fem_init_env.o
+	$(MKOCTFILE) $(CPPFLAGS) -s mesh.o fem_init_env.o fem_init_mesh.o -o $@ $(LDFLAGS) $(LIBS)
 
 mesh.o:  mesh.cc mesh.h
 	$(MKOCTFILE) $(CPPFLAGS) -c mesh.cc $(LDFLAGS) -o $@ -I.
@@ -26,12 +26,24 @@
 fem_init_mesh.o:  fem_init_mesh.cc mesh.cc mesh.h
 	$(MKOCTFILE) $(CPPFLAGS) -c fem_init_mesh.cc $(LDFLAGS) -o $@ -I.
 
-fem_get_mesh.o:  fem_get_mesh.cc mesh.cc mesh.h
+fem_get_mesh.oct:  mesh.o fem_get_mesh.o fem_init_env.o
+	$(MKOCTFILE) $(CPPFLAGS) -s mesh.o fem_init_env.o fem_get_mesh.o -o $@ $(LDFLAGS) $(LIBS)
+
+fem_get_mesh.o:  fem_get_mesh.cc mesh.o
 	$(MKOCTFILE) $(CPPFLAGS) -c fem_get_mesh.cc $(LDFLAGS) -o $@ -I.
 
-fem_init_env.o:  fem_init_env.cc mesh.cc mesh.h
-	$(MKOCTFILE) $(CPPFLAGS) -c fem_init_env.cc $(LDFLAGS) -o $@ -I.
+fem_fs.oct:  mesh.o fem_fs.o fem_init_env.o
+	$(MKOCTFILE) $(CPPFLAGS) -s mesh.o fem_init_env.o fem_fs.o -o $@ $(LDFLAGS) $(LIBS)
+
+fem_fs.o:  fem_fs.cc functionspace.h
+	$(MKOCTFILE) $(CPPFLAGS) -c fem_fs.cc $(LDFLAGS) -o $@ -I.
 
 clean:
 	-rm -f *.o core octave-core *.oct *~ *.xml
 
+cleanall:
+	-rm -f *.o core octave-core *.oct *~ *.xml *.status *.log octave-workspace configure
+	-rm -r autom4te.cache
+	-rm -f Makefile
+
+