Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 57 lines (44 sloc) 1.294 kb
750fc50 @samoht Add a first build skeleton
samoht authored
1 OCPBUILD ?= ./_obuild/unixrun ./boot/ocp-build.boot
2 WGET ?= wget
3 TARGET = ocp-get
4
5 .PHONY: all
6
7 all: ./_obuild/unixrun compile clone
8 @
9
10 scan: ./_obuild/unixrun
11 $(OCPBUILD) -scan
12 sanitize: ./_obuild/unixrun
13 $(OCPBUILD) -sanitize
14 byte: ./_obuild/unixrun
15 $(OCPBUILD) -byte
16 opt: ./_obuild/unixrun
17 $(OCPBUILD) -asm
18 ./_obuild/unixrun:
19 mkdir -p ./_obuild
20 ocamlc -o ./_obuild/unixrun -make-runtime unix.cma
21
22 compile: ./_obuild/unixrun clone
23 $(OCPBUILD) -init -scan -sanitize $(TARGET)
24
de73a75 @samoht Remove dependency towards pcre (which breaks on ubuntu)
samoht authored
25 clone: cudf extlib ocaml-re ocamlgraph dose
750fc50 @samoht Add a first build skeleton
samoht authored
26
27 cudf:
28 git clone git://scm.gforge.inria.fr/mancoosi-tools/cudf.git
29
30 extlib:
31 $(WGET) http://ocaml-extlib.googlecode.com/files/extlib-1.5.2.tar.gz
32 tar xfvz extlib-1.5.2.tar.gz
33 mv extlib-1.5.2 extlib
34
35 dose:
36 git clone git://scm.gforge.inria.fr/mancoosi-tools/dose.git
37
de73a75 @samoht Remove dependency towards pcre (which breaks on ubuntu)
samoht authored
38 # ocaml-pcre:
39 # $(WGET) http://hg.ocaml.info/release/pcre-ocaml/archive/release-6.2.5.tar.gz
40 # tar xfvz release-6.2.5.tar.gz
41 # mv pcre-ocaml-release-6.2.5 ocaml-pcre
750fc50 @samoht Add a first build skeleton
samoht authored
42
43 ocamlgraph:
44 $(WGET) http://ocamlgraph.lri.fr/download/ocamlgraph-1.8.1.tar.gz
45 tar xvfz ocamlgraph-1.8.1.tar.gz
46 mv ocamlgraph-1.8.1 ocamlgraph
47
48 clean:
49 $(OCPBUILD) -clean
50
de73a75 @samoht Remove dependency towards pcre (which breaks on ubuntu)
samoht authored
51 ocaml-re:
52 git clone https://github.com/avsm/ocaml-re
b465e63 @samoht Fix clone target + add distclean target
samoht authored
53
54 distclean:
55 rm -f *.tar.gz
56 rm -rf dose cudf extlib ocaml-pcre ocamlgraph
57 rm -rf _obuild
Something went wrong with that request. Please try again.