-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmakefile
29 lines (19 loc) · 1.13 KB
/
makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
OBJ=common.cmo find_merge.cmo jsutils.cmo cache.cmo config.cmo rdf.cmo sparql.cmo sparql_endpoint.cmo ontology.cmo lisql.cmo lisql_annot.cmo lexicon.cmo grammar.cmo lisql2nl.cmo lisql2sparql.cmo lisql_type.cmo lis.cmo permalink.cmo html.cmo
osparklis: $(OBJ)
ocamlfind ocamlc -package csv,lwt,js_of_ocaml,js_of_ocaml-lwt,lwt_ppx,js_of_ocaml-ppx -linkpkg -o osparklis.byte $(OBJ) osparklis.ml
js_of_ocaml osparklis.byte
mv osparklis.js webapp/
install:
cp -r webapp/* /local/ferre/web/ferre/sparklis
install-dev:
cp -r webapp/* /local/ferre/web/ferre/sparklis-dev
pack: webapp/osparklis.js
rm -f sparklis-webapp.zip
zip -j sparklis-webapp.zip webapp/osparklis.html webapp/osparklis.css webapp/osparklis.js webapp/examples.html webapp/release_notes.html webapp/irisa.jpg webapp/semlis.png webapp/UR1.png webapp/youtube.jpg webapp/example_extension.js
clean:
rm -f *.cm[ioax]
.SUFFIXES: .ml .mli .cmo .cmi
permalink.cmo: permalink.ml
ocamlfind ocamlc -package lwt,js_of_ocaml,js_of_ocaml-lwt,lwt_ppx,js_of_ocaml-ppx -pp camlp5o -c $<
%.cmo: %.ml
ocamlfind ocamlc -package csv,lwt,js_of_ocaml,js_of_ocaml-lwt,lwt_ppx,js_of_ocaml-ppx -c $<