Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 34 lines (24 sloc) 0.763 kB
a8bce12 @kig initial commit
authored
1 NATIVE_ENABLED = true
2
3 USE_OCAMLFIND = true
4
5 .PHONY: clean
6 clean:
7 rm -f *.cmi *.cmo *.cmx *.cmxa *.cma *.annot *.s *.o *.opt \
8 *.run *.a *.inc
9
10 %.sig: %.ml %.cmo
11 $(OCAMLFIND) $(OCAMLC) -package $(concat \,, $(OCAMLPACKS)) \
12 $(mapprefix -I, $(OCAMLINCLUDES)) \
13 $(OCAMLFLAGS) $(OCAMLCFLAGS) -i $< > $@
14
15 if $(not $(defined-env TEST))
16 OCAMLFLAGS = -g
17 OCAMLCFLAGS += -dtypes
18 OCAML_BYTE_LINK_FLAGS = -g
19
20 if $(not $(OCAMLFIND_EXISTS))
21 eprintln(This project requires ocamlfind, but is was not found.)
22 eprintln(You need to install ocamlfind and run "omake --configure".)
23 exit 1
24
25 OCAMLCFLAGS += -dtypes
26
27 .SUBDIRS: src
28
29 section
30 OCAMLPACKS[] = pcre unix netstring
31 OCamlProgram(gitbug, src/prelude src/gitbug)
32
33 .DEFAULT: gitbug$(EXE)
Something went wrong with that request. Please try again.