caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* How to compile project with sub directories (using OcamlMakefile)
@ 2009-03-08  0:36 Conglun Yao
  2009-03-08 14:50 ` [Caml-list] " Peng Zang
  0 siblings, 1 reply; 3+ messages in thread
From: Conglun Yao @ 2009-03-08  0:36 UTC (permalink / raw)
  To: caml-list

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-03-11 13:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-08  0:36 How to compile project with sub directories (using OcamlMakefile) Conglun Yao
2009-03-08 14:50 ` [Caml-list] " Peng Zang
2009-03-11 13:46   ` Conglun Yao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).