X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=Makefile.in;h=701724b5b31f3a1ae6964d03153c8d05804355ec;hb=64bcd448dc8787b82828a49edb709436ec2de93d;hp=a9e049559ecbbd8cb1afc8a8d9ed21325da11e71;hpb=343ea65fbd231847142e876a5700cee8afbc8e98;p=ocaml-bitstring.git diff --git a/Makefile.in b/Makefile.in index a9e0495..701724b 100644 --- a/Makefile.in +++ b/Makefile.in @@ -135,7 +135,10 @@ else PP = -pp 'camlp4o $(OCAMLLIB)/bisect/bisect.cma bitstring.cma bitstring_persistent.cma pa_bitstring.cmo' endif -test: pa_bitstring.cmo bitstring.cma bitstring_persistent.cma tests/test.bmpp +test: pa_bitstring.cmo \ + bitstring.cma bitstring_persistent.cma \ + bitstring.cmxa bitstring_persistent.cmxa \ + tests/test.bmpp @for f in $(TESTS); do \ echo Building $$f; \ $(OCAMLFIND) ocamlopt $(OCAMLOPTFLAGS) $(PP) -package unix $(OCAMLOPTLIBS) -I . bitstring.cmxa $$f.ml -o $$f.opt; \ @@ -234,11 +237,15 @@ endif # Clean. clean: - rm -f core *~ *.cmi *.cmo *.cmx *.cma *.cmxa *.a *.o - rm -f tests/*~ tests/*.cmi tests/*.cmo tests/*.opt - rm -f examples/*~ examples/*.cmi examples/*.cmo $(EXAMPLES) + rm -f core *~ *.cmi *.cmo *.cmx *.cma *.cmxa *.cmp *.a *.o *.so + rm -f tests/*~ tests/*.cmi tests/*.cmo tests/*.cmx tests/*.opt + rm -f tests/*.o + rm -f examples/*~ examples/*.cmi examples/*.cmo examples/*.cmx + rm -f examples/*.o $(EXAMPLES) rm -f benchmarks/*~ benchmarks/*.cmi benchmarks/*.cmo + rm -f benchmarks/*.cmx benchmarks/*.o rm -f benchmarks/*.opt benchmarks/*.opt.p benchmarks/*.profile + rm -f create_test_pattern bitstring-objinfo @for d in $(SUBDIRS); do $(MAKE) -C $$d $@; done distclean: clean @@ -267,6 +274,9 @@ install: pa_bitstring.cmo @for d in $(SUBDIRS); do $(MAKE) -C $$d $@; done +uninstall: + ocamlfind remove bitstring + # Standard rules. .mli.cmi: