-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
39 lines (28 loc) · 814 Bytes
/
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
# Makefile,v
# Copyright (c) INRIA 2007-2017
TOP=.
include $(TOP)/config/Makefile
WD=$(shell pwd)
DESTDIR=
RM=rm
SYSDIRS= tools lib exe
TESTDIRS= tests
all test: sys
set -e; for i in $(TESTDIRS); do cd $$i; $(MAKE) all; cd ..; done
sys:
set -e; for i in $(SYSDIRS); do cd $$i; $(MAKE) all; cd ..; done
doc: all
set -e; for i in $(SYSDIRS); do cd $$i; $(MAKE) doc; cd ..; done
rm -rf docs
tools/make-docs pa_ppx docs
make -C doc html
install: sys
$(OCAMLFIND) remove qc_ocaml || true
$(OCAMLFIND) install qc_ocaml local-install/lib/qc_ocaml/*
uninstall:
$(OCAMLFIND) remove qc_ocaml || true
clean::
set -e; for i in $(SYSDIRS) $(TESTDIRS); do cd $$i; $(MAKE) clean; cd ..; done
rm -rf docs local-install
depend:
set -e; for i in $(SYSDIRS) $(TESTDIRS); do cd $$i; $(MAKE) depend; cd ..; done