ocaml/ocamldoc/stdlib_non_prefixed/Makefile

40 lines
1.4 KiB
Makefile

#**************************************************************************
#* *
#* OCaml *
#* *
#* Florian Angeletti *
#* *
#* Copyright 2017 *
#* *
#* All rights reserved. This file is distributed under the terms of *
#* the GNU Lesser General Public License version 2.1, with the *
#* special exception on linking described in the file LICENSE. *
#* *
#**************************************************************************
TOPDIR=../..
include $(TOPDIR)/Makefile.tools
.SUFFIXES:
OCAMLDEP= $(OCAMLRUN) $(TOPDIR)/tools/ocamldep -slash
OCAMLC_SNP= $(OCAMLRUN) $(TOPDIR)/ocamlc -nostdlib -I .
stdlib.cmi: stdlib.mli camlinternalFormatBasics.cmi
$(OCAMLC_SNP) -nopervasives -c $<
camlinternalFormatBasics.cmi: \
camlinternalFormatBasics.mli
$(OCAMLC_SNP) -nopervasives -c $<
%.cmi: %.mli stdlib.cmi
$(OCAMLC_SNP) -c $<
depend:
$(OCAMLDEP) *.mli > .depend
include .depend
clean:
rm *.mli *.cmi