cpdf-source/Makefile

27 lines
583 B
Makefile
Raw Normal View History

2013-08-20 15:32:57 +01:00
# Build the cpdf command line tools and top level
MODS = xmlm cpdfstrftime cpdf cpdfcommand
2013-11-22 14:42:18 +00:00
SOURCES = $(foreach x,$(MODS),$(x).ml $(x).mli) cpdfcommandrun.ml
2013-08-20 15:32:57 +01:00
RESULT = cpdf
2013-09-16 13:17:40 +01:00
ANNOTATE = true
2014-09-11 14:05:13 +01:00
PACKS = camlpdf
2013-08-20 15:32:57 +01:00
2016-03-29 14:40:01 +01:00
OCAMLNCFLAGS = -g -w -3 -annot
OCAMLBCFLAGS = -g -w -3 -annot
2013-08-20 15:32:57 +01:00
OCAMLLDFLAGS = -g
all : native-code native-code-library byte-code-library top htdoc
2014-09-16 16:12:58 +01:00
clean ::
2014-10-30 19:48:45 +00:00
rm -rf doc foo foo2 out.pdf out2.pdf
2014-09-16 16:12:58 +01:00
2013-11-22 14:42:18 +00:00
LIBINSTALL_FILES = cpdf.a cpdf.cma cpdf.cmxa \
2016-03-29 14:40:01 +01:00
$(foreach x,$(MODS),$x.mli) $(foreach x,$(MODS),$x.cmi) \
$(foreach x,$(MODS),$x.cmx)
install : libinstall
2013-08-20 15:32:57 +01:00
-include OCamlMakefile