-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
49 lines (35 loc) · 1.36 KB
/
Makefile
File metadata and controls
49 lines (35 loc) · 1.36 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
48
49
#***************************************************************************#
#* Lucy-n *#
#* *#
#* *#
#* Authors: Louis Mandel (louis.mandel@lri.fr) *#
#* Florence Plateau (florence.plateau@lri.fr) *#
#* *#
#* *#
#* Creation date: September 2011 *#
#* *#
#***************************************************************************#
# $Id$
OCAMLBUILD= ocamlbuild -I lib -no-links -classic-display \
-libs str,unix \
-tags debug,annot
TARGET=native
all: split run_test
native: TARGET := native
native: all
opt: native
byte: TARGET := byte
byte: all
split: split.target
cp _build/split.$(TARGET) split
split.target:
$(OCAMLBUILD) split.$(TARGET)
run_test: run_test.target
cp _build/run_test.$(TARGET) run_test
run_test.target:
$(OCAMLBUILD) run_test.$(TARGET)
clean:
ocamlbuild -clean
realclean: clean
rm -f *~ split run_test
cleanall: realclean