From: David.Mentre@irisa.fr (David Mentré)
To: caml-list@inria.fr
Subject: OCaml makefile template comments
Date: 24 Nov 1999 11:12:07 +0100 [thread overview]
Message-ID: <wd8ogckqjuw.fsf@parate.irisa.fr> (raw)
I've used the generic OCaml Makfile (at:
http://caml.inria.fr/FAQ/Makefile_ocaml.tpl) and I have 2 comments:
1. target $(EXEC).opt
$(EXEC).opt: $(OPTOBJS)
$(CAMLOPT) -o $(EXEC) $(LIBS:.cma=.cmxa) $(OPTOBJS)
^^^^^^I think it is $(EXEC).opt here, no?
2. Makefile with subdirectories. This makefile is not made to allow
subdirectories. I've managed to use it for a subdir by adding a '-I
subdir' option to $(CAMLC) and $(CAMLOPT) and modifying targets
depend:, .depend: (to add -I option) and clean:.
Does anybody know a good makefile model to compile in subdirs
(without recursive makefile) for OCaml?
Best regards,
david
--
David.Mentre@irisa.fr -- http://www.irisa.fr/prive/dmentre/
Opinions expressed here are only mine.
next reply other threads:[~1999-11-24 18:03 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-11-24 10:12 David Mentré [this message]
1999-11-24 20:49 ` Markus Mottl
1999-11-25 12:38 ` Recursive Makefile (was: Re: OCaml makefile template comments) David Mentré
2000-01-09 0:22 ` Porting OCaml to A Custom OS Ravi Chamarty
2000-01-10 13:14 ` Xavier Leroy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=wd8ogckqjuw.fsf@parate.irisa.fr \
--to=david.mentre@irisa.fr \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).