OFX support

Christian Stimming stimming@tuhh.de
Mon, 22 Jul 2002 17:28:59 +0200


Benoit Grégoire wrote:

>>>I wonder how I could get the path to change from the makefile.  I'm open
>>>to suggestions.
>>>
>>./configure --prefix should change your makefile to point to where you
>>are installing.  If you don't use configure, you can just use
>>"prefix=..." in your Makefile and key off of that.  But note that this
>>is a lot of work if your Makefiles are not automatically generated.
> 
> I dont think you understand the ploblem.  


:-)) Sure he understands the problem. He just didn't know that you don't 
use autoconf/automake in the libofx project. Since the libxofx project 
at this point in time consists only of 4-5 source files and 4-5 headers, 
you got along with only having Makefiles. To change such a variable, I 
have to edit a file by hand. I guess you should switch to an 
autoconf/automake based configuration process sooner or later, but for 
the time being you obviously get along without it :-)))

> Maybe I could passs it from the makefiles using a macro in the code?

That's exactly how you could do that. -DMY_PATH=/some/whatever/path in 
the compile command would be just fine for that.

Christian