changeset 56:4868e535fc8a

Compile only functions which don't need file defined from the user.
author gedeone-octave <marco.vassallo@outlook.com>
date Thu, 25 Jul 2013 12:14:38 +0200
parents f04f030ea172
children 7e588d5cd07e
files src/Makefile.in
diffstat 1 files changed, 1 insertions(+), 25 deletions(-) [+]
line wrap: on
line diff
--- a/src/Makefile.in	Thu Jul 25 11:53:57 2013 +0200
+++ b/src/Makefile.in	Thu Jul 25 12:14:38 2013 +0200
@@ -3,11 +3,8 @@
 OCTFILES=fem_init_env.oct\
              fem_init_mesh.oct \
              fem_get_mesh.oct \
-             fem_fs.oct \
              fem_bc.oct \
              fem_coeff.oct \
-             fem_lhs.oct \
-             fem_rhs.oct \
              fem_func.oct \
              fem_plot.oct \
              fem_save.oct \
@@ -37,12 +34,6 @@
 fem_get_mesh.o: fem_get_mesh.cc mesh.o
 	$(MKOCTFILE) $(CPPFLAGS) -c fem_get_mesh.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 Laplace.h
-	$(MKOCTFILE) $(CPPFLAGS) -c fem_fs.cc $(LDFLAGS) -o $@ -I.
-
 fem_bc.oct: fem_bc.o fem_init_env.o
 	$(MKOCTFILE) $(CPPFLAGS) -s fem_init_env.o fem_bc.o -o $@ $(LDFLAGS) $(LIBS)
 
@@ -55,18 +46,6 @@
 fem_coeff.o: fem_coeff.cc expression.h coefficient.h
 	$(MKOCTFILE) $(CPPFLAGS) -c fem_coeff.cc $(LDFLAGS) -o $@ -I.
 
-fem_lhs.oct: fem_lhs.o fem_init_env.o
-	$(MKOCTFILE) $(CPPFLAGS) -s fem_init_env.o fem_lhs.o -o $@ $(LDFLAGS) $(LIBS)
-
-fem_lhs.o: fem_lhs.cc expression.h Laplace.h
-	$(MKOCTFILE) $(CPPFLAGS) -c fem_lhs.cc $(LDFLAGS) -o $@ -I.
-
-fem_rhs.oct: fem_rhs.o fem_init_env.o
-	$(MKOCTFILE) $(CPPFLAGS) -s fem_init_env.o fem_rhs.o -o $@ $(LDFLAGS) $(LIBS)
-
-fem_rhs.o: fem_rhs.cc expression.h Laplace.h
-	$(MKOCTFILE) $(CPPFLAGS) -c fem_rhs.cc $(LDFLAGS) -o $@ -I.
-
 fem_func.oct: fem_func.o fem_init_env.o
 	$(MKOCTFILE) $(CPPFLAGS) -s fem_init_env.o fem_func.o -o $@ $(LDFLAGS) $(LIBS)
 
@@ -85,15 +64,12 @@
 fem_save.o: fem_save.cc 
 	$(MKOCTFILE) $(CPPFLAGS) -c fem_save.cc $(LDFLAGS) -o $@ -I.
 
-Laplace.h: Laplace.ufl
-	ffc -l dolfin Laplace.ufl
-
 clean:
 	-rm -f *.o core octave-core *.oct *~ *.xml
 
 cleanall:
 	-rm -f *.o core octave-core *.oct *~ *.xml *.status *.log \
-          octave-workspace configure Laplace.h *.pvd *.vtu
+          octave-workspace configure *.pvd *.vtu
 	-rm -r autom4te.cache
 	-rm -f Makefile