Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

37 lines (30 sloc) 1.082 kB
OCAMLOPT ?= ocamlopt.opt
OPA ?= opa --parser js-like
OPA_PLUGIN_BUILDER ?= opa-plugin-builder
export
EXAMPLES= \
hello-opa/hello-opa.exe \
hello_chat/hello_chat.exe \
hello_chat/hello_chat_min.exe \
hello_wiki/hello_wiki.exe \
hello_wiki/hello_wiki_simple.exe \
hello_web_services/hello_wiki_rest.exe \
hello_web_services/hello_wiki_rest_client.exe \
hello_web_services/hello_wiki_rest_client_customizable.exe \
hello_recaptcha/hello_recaptcha_app.exe
hello_recaptcha/%.exe:
$(MAKE) -C $(@D) $(@F)
%.exe: %.opa
cd $(<D) && $(OPA) $(<F)
examples: $(EXAMPLES)
$(MAKE) -C opa_bindings_examples
$(MAKE) -C opa_bindings_examples/c_binding
$(MAKE) -C opa_bindings_examples/external_types
$(MAKE) -C opa_bindings_examples/opa_types
clean:
rm -rf `find . -name '_build' -o -name '*.broken' -o -name '_tracks' -o -name '*.opp' -o -name '*.opx'`
rm -rf $(EXAMPLES)
$(MAKE) -C opa_bindings_examples clean
$(MAKE) -C opa_bindings_examples/c_binding clean
$(MAKE) -C opa_bindings_examples/external_types clean
$(MAKE) -C opa_bindings_examples/opa_types clean
Jump to Line
Something went wrong with that request. Please try again.