Now builds library and executable and has ocamlfind support
This commit is contained in:
parent
7dc94e99d7
commit
17d10c3fdc
12
Makefile
12
Makefile
|
@ -1,6 +1,7 @@
|
|||
# Build the cpdf command line tools and top level
|
||||
SOURCES = cpdfstrftime.mli cpdfstrftime.ml cpdf.mli cpdf.ml cpdfcommand.mli \
|
||||
cpdfcommand.ml cpdfcommandrun.ml
|
||||
MODS = cpdfstrftime cpdf cpdfcommand
|
||||
|
||||
SOURCES = $(foreach x,$(MODS),$(x).ml $(x).mli) cpdfcommandrun.ml
|
||||
|
||||
RESULT = cpdf
|
||||
|
||||
|
@ -10,7 +11,12 @@ OCAMLNCFLAGS = -g
|
|||
OCAMLBCFLAGS = -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue