Mercurial > fem-fenics-eugenio
view src/Makefile.in @ 27:cb21a4ac2314
Compile also new class and functions available.
* configure.ac: check also for the presence of ffc
author | gedeone-octave <marco.vassallo@outlook.com> |
---|---|
date | Mon, 15 Jul 2013 16:55:45 +0200 |
parents | b760ffba8f63 |
children | f992cee90bd6 |
line wrap: on
line source
MKOCTFILE ?= mkoctfile OCTFILES=fem_init_env.oct fem_init_mesh.oct fem_get_mesh.oct fem_fs.oct fem_bc.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 $(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_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) fem_bc.o: fem_bc.cc functionspace.h boundarycondition.h expression.h $(MKOCTFILE) $(CPPFLAGS) -c fem_bc.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 -rm -r autom4te.cache -rm -f Makefile