diff --git a/server/Makefile b/server/Makefile index f9a5c61..1b62083 100644 --- a/server/Makefile +++ b/server/Makefile @@ -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