Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 37 lines (30 sloc) 1.082 kB
c878465 @Aqua-Ye [doc] opadoc: open sourcing opadoc resources
Aqua-Ye authored
1 OCAMLOPT ?= ocamlopt.opt
2 OPA ?= opa --parser js-like
3 OPA_PLUGIN_BUILDER ?= opa-plugin-builder
4
5 export
6
7 EXAMPLES= \
8 hello-opa/hello-opa.exe \
9 hello_chat/hello_chat.exe \
10 hello_chat/hello_chat_min.exe \
11 hello_wiki/hello_wiki.exe \
12 hello_wiki/hello_wiki_simple.exe \
13 hello_web_services/hello_wiki_rest.exe \
14 hello_web_services/hello_wiki_rest_client.exe \
15 hello_web_services/hello_wiki_rest_client_customizable.exe \
16 hello_recaptcha/hello_recaptcha_app.exe
17
18 hello_recaptcha/%.exe:
19 $(MAKE) -C $(@D) $(@F)
20
21 %.exe: %.opa
22 cd $(<D) && $(OPA) $(<F)
23
24 examples: $(EXAMPLES)
c253d1b @Aqua-Ye [doc] manual: fix typo on opa_bindings_examples (again)
Aqua-Ye authored
25 $(MAKE) -C opa_bindings_examples
26 $(MAKE) -C opa_bindings_examples/c_binding
27 $(MAKE) -C opa_bindings_examples/external_types
28 $(MAKE) -C opa_bindings_examples/opa_types
c878465 @Aqua-Ye [doc] opadoc: open sourcing opadoc resources
Aqua-Ye authored
29
30 clean:
31 rm -rf `find . -name '_build' -o -name '*.broken' -o -name '_tracks' -o -name '*.opp' -o -name '*.opx'`
32 rm -rf $(EXAMPLES)
c253d1b @Aqua-Ye [doc] manual: fix typo on opa_bindings_examples (again)
Aqua-Ye authored
33 $(MAKE) -C opa_bindings_examples clean
34 $(MAKE) -C opa_bindings_examples/c_binding clean
35 $(MAKE) -C opa_bindings_examples/external_types clean
36 $(MAKE) -C opa_bindings_examples/opa_types clean
Something went wrong with that request. Please try again.