[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 1999-11-24 (18:03) |
From: | David.Mentre@i... |
Subject: | OCaml makefile template comments |
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.