Mercurial > fem-fenics-eugenio
view src/Makefile.in @ 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 | fe29ca22b1ec |
children | 16ccfaf1476a |
line wrap: on
line source
MKOCTFILE ?= mkoctfile OCTFILES=fem_init_env.oct\ fem_init_mesh.oct \ fem_get_mesh.oct \ fem_bc.oct \ fem_coeff.oct \ fem_func.oct \ fem_plot.oct \ fem_save.oct \ LIBS += -ldolfin all: $(OCTFILES) fem_init_env.oct: fem_init_env.o $(MKOCTFILE) $(CPPFLAGS) -s fem_init_env.o -o $@ $(LDFLAGS) $(LIBS) fem_init_env.o: fem_init_env.cc mesh.h functionspace.h boundarycondition.h function.h coefficient.h $(MKOCTFILE) $(CPPFLAGS) -c fem_init_env.cc $(LDFLAGS) -o $@ -I. 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. 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.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_bc.oct: fem_bc.o fem_init_env.o $(MKOCTFILE) $(CPPFLAGS) -s fem_init_env.o fem_bc.o -o $@ $(LDFLAGS) $(LIBS) fem_bc.o: fem_bc.cc functionspace.h boundarycondition.h expression.h $(MKOCTFILE) $(CPPFLAGS) -c fem_bc.cc $(LDFLAGS) -o $@ -I. fem_coeff.oct: fem_coeff.o fem_init_env.o $(MKOCTFILE) $(CPPFLAGS) -s fem_init_env.o fem_coeff.o -o $@ $(LDFLAGS) $(LIBS) fem_coeff.o: fem_coeff.cc expression.h coefficient.h $(MKOCTFILE) $(CPPFLAGS) -c fem_coeff.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) fem_func.o: fem_func.cc function.h $(MKOCTFILE) $(CPPFLAGS) -c fem_func.cc $(LDFLAGS) -o $@ -I. fem_plot.oct: fem_plot.o fem_init_env.o $(MKOCTFILE) $(CPPFLAGS) -s fem_init_env.o fem_plot.o -o $@ $(LDFLAGS) $(LIBS) fem_plot.o: fem_plot.cc $(MKOCTFILE) $(CPPFLAGS) -c fem_plot.cc $(LDFLAGS) -o $@ -I. fem_save.oct: fem_save.o fem_init_env.o $(MKOCTFILE) $(CPPFLAGS) -s fem_init_env.o fem_save.o -o $@ $(LDFLAGS) $(LIBS) fem_save.o: fem_save.cc $(MKOCTFILE) $(CPPFLAGS) -c fem_save.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 *.pvd *.vtu -rm -r autom4te.cache -rm -f Makefile