[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: use of mkoctfile with autoconf/automake

From: Eric Chassande-Mottin
Subject: Re: use of mkoctfile with autoconf/automake
Date: Fri, 2 Mar 2007 19:37:29 +0100

I didn't mean to suggest that you could expect it to work this way,
just that you could use it in a way similar to the way you use any
compiler.  You will have to write some pattern rules specifically for
it, or at the least, make sure that the CXXFLAGS variable is also
adjusted appropriately for mkoctfile.

here is the src/ which does the job.

        $(MKOCTFILE) -c -o $@ $<


foo_LINK=$(MKOCTFILE) -o $@

this is not fully satisfactory since it defines a generic rule for
compilation only.
i couldn't find any generic solution for the linking step in the
automake manual.
the definition of the linker is done here individually for each DLDs.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]