27 lines
583 B
Makefile
27 lines
583 B
Makefile
# Build the cpdf command line tools and top level
|
|
MODS = xmlm cpdfstrftime cpdf cpdfcommand
|
|
|
|
SOURCES = $(foreach x,$(MODS),$(x).ml $(x).mli) cpdfcommandrun.ml
|
|
|
|
RESULT = cpdf
|
|
ANNOTATE = true
|
|
PACKS = camlpdf
|
|
|
|
OCAMLNCFLAGS = -g -w -3 -annot
|
|
OCAMLBCFLAGS = -g -w -3 -annot
|
|
OCAMLLDFLAGS = -g
|
|
|
|
all : native-code native-code-library byte-code-library top htdoc
|
|
|
|
clean ::
|
|
rm -rf doc foo foo2 out.pdf out2.pdf
|
|
|
|
LIBINSTALL_FILES = cpdf.a cpdf.cma cpdf.cmxa \
|
|
$(foreach x,$(MODS),$x.mli) $(foreach x,$(MODS),$x.cmi) \
|
|
$(foreach x,$(MODS),$x.cmx)
|
|
|
|
install : libinstall
|
|
|
|
-include OCamlMakefile
|
|
|