Thanks, peng, it works.

Conglun

On Sun, Mar 8, 2009 at 2:50 PM, Peng Zang <peng.z...@gmail.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Here is something similar from one of my projects.  Although each subproject
> is not in a subdirectory, it should be trivial to modify by changing the SRC
> variables.
>
> Note that I made a small patch to OCamlMakefile to do this.
>
> Peng
>
> On Saturday 07 March 2009 07:36:45 pm Conglun Yao wrote:
>> Dear camlers,
>>
>> I've been stuck by this problem for few days, and can't find the
>> answer.  I built a project with several sub directories, like lib01,
>> lib02 and lib03, and create a Makefile in each directory.
>>
>> In the top level, I have a Makefile like :
>>
>> all:
>>       @cd lib01 && make all
>>       @cd lib02&& make all
>>       @cd lib03 && make all
>>
>> Makefile in lib01 .. lib03:
>>
>> OCAMLMAKEFILE = ../OCamlMakefile
>>
>> SOURCES  = ..... library files
>>
>> RESULT = lib01
>>
>> .PHONY: all
>> all:     bcl ncl
>>
>> include $(OCAMLMAKEFILE)
>>
>> Using these Makefiles, lib01.cma, lib02.cma, lib03.cma are created.
>>
>> Now I face the problem, how to install these *.cma using
>> OcamlMakefile, and is it possible to create a single package including
>> all these cmas.
>>
>> Any suggestion will be appreciated!
>>
>> Conglun
>>
>> _______________________________________________
>> Caml-list mailing list. Subscription management:
>> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
>> Archives: http://caml.inria.fr
>> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
>> Bug reports: http://caml.inria.fr/bin/caml-bugs
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.7 (GNU/Linux)
>
> iD8DBQFJs9s4fIRcEFL/JewRAs8QAJ4q26l1OqbrqP9dTe7OiCRK83i98gCgsrBt
> fy3/GWmabMRmB+WI8bvkNQQ=
> =bsCU
> -----END PGP SIGNATURE-----
>

_______________________________________________
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

Reply via email to