Switch to statically-linked server build.

This commit is contained in:
Tony Garnock-Jones 2013-03-25 15:06:15 -04:00
parent 3fd3c5ada1
commit dfcd70cb70
1 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,7 @@
APP=hop_server
TEMPLATES=$(wildcard web/bootstrap/templates/*.xml)
HTML=$(subst web/bootstrap/templates/,web/,$(subst .xml,.html,$(TEMPLATES)))
OCAMLBUILD=ocamlbuild -classic-display -use-ocamlfind -X scratch -lflag -cclib -lflag -static
all: \
message.ml amqp_spec.ml \
@ -33,10 +34,10 @@ veryclean: clean
rm -f web/bootstrap/css/bootstrap.css
$(APP).native: $(wildcard *.ml) lwt_installed
ocamlbuild -use-ocamlfind -X scratch $@
$(OCAMLBUILD) $@
$(APP).p.native: $(wildcard *.ml) lwt_installed
ocamlbuild -use-ocamlfind -X scratch $@
$(OCAMLBUILD) $@
lwt_installed:
opam install lwt