-
Notifications
You must be signed in to change notification settings - Fork 12
/
Makefile
46 lines (31 loc) · 1.04 KB
/
Makefile
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
# OASIS_START
# DO NOT EDIT (digest: ea2431e03cacee6f0da66bb83e139b0f)
SETUP = ./setup.exe
build: setup.data $(SETUP)
$(SETUP) -build $(BUILDFLAGS)
doc: setup.data $(SETUP) build
$(SETUP) -doc $(DOCFLAGS)
test: setup.data $(SETUP) build
$(SETUP) -test $(TESTFLAGS)
all: $(SETUP)
$(SETUP) -all $(ALLFLAGS)
install: setup.data $(SETUP)
$(SETUP) -install $(INSTALLFLAGS)
uninstall: setup.data $(SETUP)
$(SETUP) -uninstall $(UNINSTALLFLAGS)
reinstall: setup.data $(SETUP)
$(SETUP) -reinstall $(REINSTALLFLAGS)
clean: $(SETUP)
$(SETUP) -clean $(CLEANFLAGS)
distclean: $(SETUP)
$(SETUP) -distclean $(DISTCLEANFLAGS)
$(RM) $(SETUP)
setup.data: $(SETUP)
$(SETUP) -configure $(CONFIGUREFLAGS)
configure: $(SETUP)
$(SETUP) -configure $(CONFIGUREFLAGS)
setup.exe: setup.ml _oasis
ocamlfind ocamlopt -o $@ -linkpkg -package oasis.dynrun $< || ocamlfind ocamlc -o $@ -linkpkg -package oasis.dynrun $< || true
$(RM) setup.cmi setup.cmo setup.cmx setup.o
.PHONY: build doc test all install uninstall reinstall clean distclean configure
# OASIS_STOP