-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
42 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
description = "Statsd client" | ||
requires = "lwt.unix" | ||
archive(byte) = "statsd-client.cma" | ||
archive(native) = "statsd-client.cmxa" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
.PHONY: default all opt install uninstall | ||
|
||
default: all opt | ||
|
||
all: | ||
ocamlfind ocamlc -c statsd_client.mli -package lwt.unix | ||
ocamlfind ocamlc -a -g statsd_client.ml \ | ||
-o statsd_client.cma -package lwt.unix | ||
opt: | ||
ocamlfind ocamlc -c statsd_client.mli -package lwt.unix | ||
ocamlfind ocamlopt -a -g statsd_client.ml \ | ||
-o statsd_client.cmxa -package lwt.unix | ||
install: | ||
ocamlfind install statsd-client META \ | ||
`find statsd_client.mli statsd_client.cmi \ | ||
statsd_client.cmo statsd_client.cma \ | ||
statsd_client.cmx statsd_client.o \ | ||
statsd_client.cmxa statsd_client.a` | ||
uninstall: | ||
ocamlfind remove statsd-client | ||
|
||
.PHONY: clean | ||
clean: | ||
rm -f *.cm[ioxa] *.cmxa *.[oa] *~ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters