view extra/control-devel/devel/makefile_modred.m @ 9463:c44337093f26 octave-forge

control-devel: reorganize makefile
author paramaniac
date Wed, 22 Feb 2012 16:37:14 +0000
parents 444596ec46e7
children
line wrap: on
line source

## ==============================================================================
## Developer Makefile for OCT-files
## ==============================================================================
## USAGE: * fetch control-devel from Octave-Forge by svn
##        * add control-devel/inst, control-devel/src and control-devel/devel
##          to your Octave path (by an .octaverc file)
##        * run makefile_modred
## ==============================================================================

homedir = pwd ();
develdir = fileparts (which ("makefile_modred"));
srcdir = [develdir, "/../src"];
cd (srcdir);

mkoctfile slab09hd.cc \
          slicotlibrary.a \
          "$(mkoctfile -p LAPACK_LIBS)" \
          "$(mkoctfile -p BLAS_LIBS)"

mkoctfile slab09id.cc \
          slicotlibrary.a \
          "$(mkoctfile -p LAPACK_LIBS)" \
          "$(mkoctfile -p BLAS_LIBS)"

mkoctfile slab09jd.cc \
          slicotlibrary.a \
          "$(mkoctfile -p LAPACK_LIBS)" \
          "$(mkoctfile -p BLAS_LIBS)"

system ("rm *.o");
cd (homedir);