forked from matijapretnar/eff
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
52 lines (35 loc) · 993 Bytes
/
Makefile
File metadata and controls
52 lines (35 loc) · 993 Bytes
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
50
51
52
# OASIS_START
# DO NOT EDIT (digest: 4d265c1dbe34db850ba8f3cfa7396db0)
SETUP = ocaml setup.ml
build: setup.data
$(SETUP) -build $(BUILDFLAGS)
doc: setup.data build
$(SETUP) -doc $(DOCFLAGS)
all:
$(SETUP) -all $(ALLFLAGS)
install: setup.data
$(SETUP) -install $(INSTALLFLAGS)
uninstall: setup.data
$(SETUP) -uninstall $(UNINSTALLFLAGS)
reinstall: setup.data
$(SETUP) -reinstall $(REINSTALLFLAGS)
clean:
$(SETUP) -clean $(CLEANFLAGS)
distclean:
$(SETUP) -distclean $(DISTCLEANFLAGS)
setup.data:
$(SETUP) -configure $(CONFIGUREFLAGS)
configure:
$(SETUP) -configure $(CONFIGUREFLAGS)
.PHONY: build doc all install uninstall reinstall clean distclean configure
# OASIS_STOP
eff: setup.data
$(SETUP) -build $(BUILDFLAGS)
# "make test" to see if anything broke
test: eff
cd tests && sh ./test.sh
# "make test-validate" to see if anything broke
# and ask for validation of possibly broken things.
test-validate: eff
cd tests && sh ./test.sh -v
.PHONY: test test-validate