[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Need help to compile
From: |
Florent. Devin |
Subject: |
Need help to compile |
Date: |
Mon, 05 Feb 2001 17:32:59 +0100 |
Hi,
How can I compile a program which is not C or C++, Fortran...
I have got this rule for a Makefile, but I do not know
how to put this in a Auto system.
.SUFFIXES: .cmi .cmo .cmx .c
%.cmi: %.mli
$(COMPILE) $<
%.cmo: %.ml
$(OCAMLC) $(BYTECOMPFLAGS) $<
%.cmx: %.ml
$(OCAMLOPT) $(OPTCOMPFLAGS) $<
%.ml: %.p4
$(P4) $< > $@
I have written a macro to test where $(OCAMLC) is.
--
Florent DEVIN, 33 (0)3 20 43 47 30, Fax (33) (0)3 20 43 65 66 (Fax LIFL)
LIFL, Laboratoire d'Informatique Fondamentale de LILLE
USTL, Bureau 326, Batiment M3, 59655 Villeneuve d'Ascq Cedex
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Need help to compile,
Florent. Devin <=