Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 48 lines (36 sloc) 0.943 kb
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 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
OS = $(shell uname -s)
ifeq ($(OS),Darwin)
WGET ?= ftp
else
WGET ?= wget -qN
endif

all: clone depends.ocp

depends.ocp: depends.ocp.boot
cp $< $@

clone: cudf extlib ocaml-re ocamlgraph dose ocaml-arg

cudf:
$(WGET) http://www.ocamlpro.com/pub/cudf.tar.gz
tar xfz cudf.tar.gz

extlib:
$(WGET) http://ocaml-extlib.googlecode.com/files/extlib-1.5.2.tar.gz
tar xfz extlib-1.5.2.tar.gz
mv extlib-1.5.2 extlib

dose:
$(WGET) http://www.ocamlpro.com/pub/dose.tar.gz
tar xfz dose.tar.gz

ocaml-arg:
$(WGET) http://www.ocamlpro.com/pub/ocaml-arg.tar.gz
tar xfz ocaml-arg.tar.gz

ocamlgraph:
$(WGET) http://ocamlgraph.lri.fr/download/ocamlgraph-1.8.1.tar.gz
tar xfz ocamlgraph-1.8.1.tar.gz
mv ocamlgraph-1.8.1 ocamlgraph

ocaml-re:
$(WGET) http://www.ocamlpro.com/pub/ocaml-re.tar.gz
tar xfz ocaml-re.tar.gz

clean:
rm -rf *~

distclean: clean
rm -rf cudf extlib ocaml-re ocamlgraph dose ocaml-arg
rm -f depends.ocp
rm -rf *.tar.gz
Something went wrong with that request. Please try again.