Re: both native & bytecode
On Wed, Oct 27, 2004 at 10:20:36PM +0300, George Danchev wrote:
> I've commited my changes to SVN, basically we first check if we can make a
> native build, else fallback to bytecode...
> if [ -x /usr/bin/ocamlopt ]; then \
> $(MAKE); \
> $(MAKE) bt ; \
> ..... then we rename everythig to ara, xara
> if [ -f $(CURDIR)/ara.opt ]; then cp $(CURDIR)/ara.opt $(CURDIR)/ara ; fi
> if [ -f $(CURDIR)/xara.opt ]; then cp $(CURDIR)/xara.opt $(CURDIR)/xara ; fi
Nice but I've already fixed the makefiles so they output to ara (native)
or ara.bt (byte). So replace ara.opt with ara.bt in your code.
> My feeling is that it is clean and short solution, comments ?
Dunno, ask Sven.
> I'm presenly not subscribed to debian-ocaml-mailt, but if I do I'll let you
That'll be nice.
Have a nice evening !