Now builds library and executable and has ocamlfind support

This commit is contained in:
John Whitington 2013-08-20 21:00:17 +01:00
parent 7dc94e99d7
commit 17d10c3fdc
1 changed files with 9 additions and 3 deletions

View File

@ -1,6 +1,7 @@
# Build the cpdf command line tools and top level # Build the cpdf command line tools and top level
SOURCES = cpdfstrftime.mli cpdfstrftime.ml cpdf.mli cpdf.ml cpdfcommand.mli \ MODS = cpdfstrftime cpdf cpdfcommand
cpdfcommand.ml cpdfcommandrun.ml
SOURCES = $(foreach x,$(MODS),$(x).ml $(x).mli) cpdfcommandrun.ml
RESULT = cpdf RESULT = cpdf
@ -10,7 +11,12 @@ OCAMLNCFLAGS = -g
OCAMLBCFLAGS = -g OCAMLBCFLAGS = -g
OCAMLLDFLAGS = -g OCAMLLDFLAGS = -g
all : native-code top htdoc all : native-code native-code-library byte-code-library top htdoc
LIBINSTALL_FILES = cpdf.a cpdf.cma cpdf.cmxa \
$(foreach x,$(MODS),$x.mli) $(foreach x,$(MODS),$x.cmi)
install : libinstall
-include OCamlMakefile -include OCamlMakefile