Feature Requests item #804608, was opened at 2003-09-11 18:03
Message generated for change (Comment added) made by navin_mehta
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=362740&aid=804608&group_id=12740Category: None
Group: None
Status: Open
Priority: 5
Submitted By: navin mehta (navin_mehta)
Assigned to: Nobody/Anonymous (nobody)
Summary: Examples build using Makefile.mak 
Initial Comment:
Makefile.mak on the QuantLib-0.3.3 directory does not 
contain entry for builiding the examples, due to which 
Examples do not get build using make command from 
Borland C++ compiler.Though, it was working in previous 
release.
It would help if you can please add the same.
Thanks!
----------------------------------------------------------------------
>Comment By: navin mehta (navin_mehta)
Date: 2003-09-12 17:14
Message:
Logged In: YES 
user_id=566336
Its a minor convenience issue,though. I actually ran the make 
command on the Quanltlib-0.3.3 folder, and saw the examples 
did not get built.It works with the previous version.(Used the 
free version of Borland C++ compiler)
Here is what I think,causes the problem:
QuantLib-0.3.0 version of makefile.mak:
quantlib::
    cd ql
    $(MAKE)
    cd ..\Examples
    $(MAKE) -DQL_DIR="..\.."
    cd ..
QuantLib-0.3.3 version of makefile.mak
quantlib::
    cd ql
    $(MAKE)
    #cd ..\test-suite
    #$(MAKE) -DQL_DIR=".."
    cd ..
I changed the above piece of code in the new version, and it 
works.
Anyway , its only a minor convenience thing .
Cheers!
----------------------------------------------------------------------
Comment By: Ferdinando Ametrano (nando)
Date: 2003-09-12 09:00
Message:
Logged In: YES 
user_id=34616
QuantLib-0.3.3-src.zip includes a makefile.mak in the root 
directory with an "examples" target that will build all the 
Examples.
Typing 'make examples' from the root directory should work.
Alternatively 'make' from the Examples directory will work too.
In the first case the examples will be built linking to the 
installed QuantLib library. In the second case the examples 
will be built linking to the relative path ../lib/ QuantLib library
Please let me know if you have further requirement, or if the 
makefile is missing from other files/packages of the QuantLib 
0.3.3 distribution
thank you
ciao -- Nando
----------------------------------------------------------------------
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=362740&aid=804608&group_id=12740