comparison src/Makefile.in @ 252:7f33554e439a

Add preprocessor define to support compatibility with DOLFIN 1.4.0 and 1.3.0
author Eugenio Gianniti <eugenio.gianniti@mail.polimi.it>
date Tue, 29 Jul 2014 17:11:59 +0200
parents b1dc98050634
children 5e9b5bbdc56b
comparison
equal deleted inserted replaced
251:b1dc98050634 252:7f33554e439a
16 16
17 MKOCTFILE ?= mkoctfile 17 MKOCTFILE ?= mkoctfile
18 FFC ?= ffc 18 FFC ?= ffc
19 19
20 ARFLAGS=-r -s 20 ARFLAGS=-r -s
21 CPPFLAGS='@DENSE_CPPFLAGS@ @DOLFIN_CPPFLAGS@ @EIGEN_CPPFLAGS@ -I.' 21 DOLFIN_CPPFLAGS=@DOLFIN_CPPFLAGS@
22 CPPFLAGS=@DENSE_CPPFLAGS@ @EIGEN_CPPFLAGS@ -I.
22 LIBS_RAW=@EIGEN_LIBS@ @DOLFIN_LIBS@ 23 LIBS_RAW=@EIGEN_LIBS@ @DOLFIN_LIBS@
23 LIBS=$(patsubst %, "%", $(LIBS_RAW)) 24 LIBS=$(patsubst %, "%", $(LIBS_RAW))
25 ifeq (1.4.0, $(findstring 1.4.0, $(DOLFIN_CPPFLAGS)))
26 CPPFLAGS+=-DLATEST_DOLFIN
27 endif
28 CPPFLAGS+=$(DOLFIN_CPPFLAGS)
29 CPPFLAGS:='$(CPPFLAGS)'
24 30
25 OCTFILES= Mesh.oct \ 31 OCTFILES= Mesh.oct \
26 DirichletBC.oct \ 32 DirichletBC.oct \
27 Expression.oct \ 33 Expression.oct \
28 Function.oct \ 34 Function.oct \