# HG changeset patch # User gedeone-octave # Date 1374151999 -7200 # Node ID 891ee2720e6518558bfc8efcb61c0decce41bdd2 # Parent ef15088753e6ee3371f047ebc543741983885e2a Compile also new test diff -r ef15088753e6 -r 891ee2720e65 test/Makefile --- a/test/Makefile Thu Jul 18 14:52:47 2013 +0200 +++ b/test/Makefile Thu Jul 18 14:53:19 2013 +0200 @@ -1,6 +1,6 @@ MKOCTFILE ?= mkoctfile -OCTFILES=test_expr.oct test_bc.oct +OCTFILES=test_expr.oct test_bc.oct test_coeff.oct LIBS += -ldolfin @@ -18,6 +18,13 @@ test_bc.o: test_bc.cpp Laplace.h $(MKOCTFILE) -c test_bc.cpp $(LDFLAGS) -o $@ -I../src/ +test_coeff.oct: test_coeff.o + $(MKOCTFILE) -s ../src/fem_init_env.o test_coeff.o -o $@ $(LDFLAGS) $(LIBS) + +test_coeff.o: test_coeff.cpp Laplace.h + $(MKOCTFILE) -c test_coeff.cpp $(LDFLAGS) -o $@ -I../src/ + + Laplace.h: Laplace.ufl ffc -l dolfin Laplace.ufl