Mercurial > fem-fenics-eugenio
comparison inst/private/generate_makefile.m @ 269:897e312cb440
Ensure the mkoctfile installed with running octave is used
* inst/import_*.m: find the right mkoctfile and pass it through
the environment
* inst/private/generate_*.m: get mkoctfile from the environment
author | Eugenio Gianniti <eugenio.gianniti@mail.polimi.it> |
---|---|
date | Thu, 14 Aug 2014 17:10:29 +0200 |
parents | 61830a4f9ab9 |
children |
comparison
equal
deleted
inserted
replaced
268:61830a4f9ab9 | 269:897e312cb440 |
---|---|
22 | 22 |
23 STRING ="\n\ | 23 STRING ="\n\ |
24 DIR = @@PATH@@\n\ | 24 DIR = @@PATH@@\n\ |
25 CPPFLAGS+=@@FF_CPPFLAGS@@ -g\n\ | 25 CPPFLAGS+=@@FF_CPPFLAGS@@ -g\n\ |
26 LIBS+=@@FF_LIBS@@\n\ | 26 LIBS+=@@FF_LIBS@@\n\ |
27 MKOCTFILE = mkoctfile\n\ | 27 MKOCTFILE ?= mkoctfile\n\ |
28 FFC = ffc\n\ | 28 FFC ?= ffc\n\ |
29 \n\ | 29 \n\ |
30 OCTFILES = @@UFL_NAME@@_FunctionSpace.oct @@UFL_NAME@@_BilinearForm.oct @@UFL_NAME@@_LinearForm.oct\n\ | 30 OCTFILES = @@UFL_NAME@@_FunctionSpace.oct @@UFL_NAME@@_BilinearForm.oct @@UFL_NAME@@_LinearForm.oct\n\ |
31 \n\ | 31 \n\ |
32 all : $(OCTFILES)\n\ | 32 all : $(OCTFILES)\n\ |
33 fs : @@UFL_NAME@@_FunctionSpace.oct\n\ | 33 fs : @@UFL_NAME@@_FunctionSpace.oct\n\ |