changeset 38:891ee2720e65

Compile also new test
author gedeone-octave <marco.vassallo@outlook.com>
date Thu, 18 Jul 2013 14:53:19 +0200
parents ef15088753e6
children 7909b9af405c
files test/Makefile
diffstat 1 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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