From: John M. S. <sk...@oz...> - 2003-06-08 15:28:21
|
Brian Hurt wrote: > This is what I was talking about when I mentioned "makefile hacks". > Unfortunately, I know enough about the build environment of Windows > (despite several years busily repressing memories) that I am wary of doing > and scripting hacks. The only scripting language I am sure exists is > Ocaml. Then use it. Only, please get rid of primary makefiles. Make is a very stupid, ugly, unworkable tool. Its use should be avoided at all costs. It offers only one advantage: familiarity for uses to say make to build something. I don't know if this can be done but a simple makefile: all: ocaml xlmake <arguments> which simply invokes the ocaml program xlmake with the arguments to the command make, would even solve that problem. Otherwise I'm happy to read the doce enough to learn I have to type xlmake or ocaml xlmake.ml to do a make. You may note that to do this efficiently would require some kind of topological dependency sorting: well, ExtLib has a data structure for that doesn't it? :-) -- John Max Skaller, mailto:sk...@oz... snail:10/1 Toxteth Rd, Glebe, NSW 2037, Australia. voice:61-2-9660-0850 |