Dear Octave Community

I wrote a C++ wrapper called slab08nd.cc [1] for some Fortran files.  
Now I try to create a Makefile for the control-oo package [2] that  
compiles the oct-file upon package installation. At the moment, the  
Makefile looks like this:

all: slab08nd.oct

%.oct: %.cc
        mkoctfile -s $<

clean:
        -rm *.o core octave-core *.oct *~

The problem is that the Fortran files are not compiled (the linker  
doesn't find the necessary symbols). How can I achieve this?
When creating the oct-file manually, the proper command would be:

mkoctfile slab08nd.cc AB08ND.f AB08NX.f TB01ID.f MB03OY.f MB03PY.f

Thanks in advance for every help

Regards,
Lukas


[1]
http://octave.svn.sourceforge.net/viewvc/octave/trunk/octave-forge/extra/control-oo/src/

[2]
http://octave.svn.sourceforge.net/viewvc/octave/trunk/octave-forge/extra/control-oo/

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to