diff --git a/server/Makefile b/server/Makefile index 1b62083..b9ebced 100644 --- a/server/Makefile +++ b/server/Makefile @@ -1,7 +1,10 @@ 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 + +# Static builds. So far I've only seen this work on Linux. OS X complains about missing -lcrt0.o. +# OCAMLBUILD=ocamlbuild -classic-display -use-ocamlfind -X scratch -lflag -cclib -lflag -static +OCAMLBUILD=ocamlbuild -classic-display -use-ocamlfind -X scratch all: \ message.ml amqp_spec.ml \