# HG changeset patch # User gedeone-octave # Date 1374747278 -7200 # Node ID 4868e535fc8a176fb2a306b041f669fede9fbf78 # Parent f04f030ea1729442571c69f2d6103dfc53c1c126 Compile only functions which don't need file defined from the user. diff -r f04f030ea172 -r 4868e535fc8a src/Makefile.in --- 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