Switch to statically-linked server build.
This commit is contained in:
parent
3fd3c5ada1
commit
dfcd70cb70
|
@ -1,6 +1,7 @@
|
||||||
APP=hop_server
|
APP=hop_server
|
||||||
TEMPLATES=$(wildcard web/bootstrap/templates/*.xml)
|
TEMPLATES=$(wildcard web/bootstrap/templates/*.xml)
|
||||||
HTML=$(subst web/bootstrap/templates/,web/,$(subst .xml,.html,$(TEMPLATES)))
|
HTML=$(subst web/bootstrap/templates/,web/,$(subst .xml,.html,$(TEMPLATES)))
|
||||||
|
OCAMLBUILD=ocamlbuild -classic-display -use-ocamlfind -X scratch -lflag -cclib -lflag -static
|
||||||
|
|
||||||
all: \
|
all: \
|
||||||
message.ml amqp_spec.ml \
|
message.ml amqp_spec.ml \
|
||||||
|
@ -33,10 +34,10 @@ veryclean: clean
|
||||||
rm -f web/bootstrap/css/bootstrap.css
|
rm -f web/bootstrap/css/bootstrap.css
|
||||||
|
|
||||||
$(APP).native: $(wildcard *.ml) lwt_installed
|
$(APP).native: $(wildcard *.ml) lwt_installed
|
||||||
ocamlbuild -use-ocamlfind -X scratch $@
|
$(OCAMLBUILD) $@
|
||||||
|
|
||||||
$(APP).p.native: $(wildcard *.ml) lwt_installed
|
$(APP).p.native: $(wildcard *.ml) lwt_installed
|
||||||
ocamlbuild -use-ocamlfind -X scratch $@
|
$(OCAMLBUILD) $@
|
||||||
|
|
||||||
lwt_installed:
|
lwt_installed:
|
||||||
opam install lwt
|
opam install lwt
|
||||||
|
|
Loading…
Reference in New Issue