#*********************************************************************#
#                                                                     #
#                           Htmlc                                     #
#                                                                     #
#            Pierre Weis, projet Cristal, INRIA Rocquencourt          #
#                                                                     #
#  Copyright 1997-2004,                                               #
#  Institut National de Recherche en Informatique et en Automatique.  #
#  Distributed only by permission.                                    #
#                                                                     #
#*********************************************************************#

#(* $Id: Makefile,v 1.11 2004/09/22 15:36:51 weis Exp $ *)

# The name of this software
PACKAGE=htmlc

# Where to install the binaries
BINDIR=/usr/local/bin
# Where to install the man page
MANEXT=1
MANDIR=/usr/local/man/man$(MANEXT)

# The Objective Caml compilers (those defaults should be OK)
OCAMLDEP = ocamldep
OCAMLC = ocamlc -warn-error A -g
OCAMLOPT = ocamlopt -warn-error A
OCAMLYACC = ocamlyacc -v
OCAMLLEX = ocamllex

# The general purpose commands
SHELL=/bin/sh
MKDIR=mkdir -p
RM=/bin/rm -rf
CP=cp -p -R
MV=mv -f

all::

clean::
	$(RM) depend
	$(RM) *.cm[ioxa] *.cmxa *.o *~

.SUFFIXES:
.SUFFIXES: .ml .mli .cmi .cmo .cmx .cma .cmxa

.ml.cmo:
	$(OCAMLC) -c $<

.mli.cmi:
	$(OCAMLC) -c $<

.ml.cmx:
	$(OCAMLOPT) -c $<
