summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKathy Gray2014-07-25 14:48:12 +0100
committerKathy Gray2014-07-25 14:48:12 +0100
commit352bde43bc677bc34eb9c5c4ccf945ffef40e283 (patch)
treec69b366702abdeedc246e79084124e33022ac5f6
parent2d74c82744130c744a216200f9bb5358ffdc9c51 (diff)
Update make file to make clean from top level directory, and to not build all tests on all.
Instead there is a make full command to make all the tests as well as everything.
-rw-r--r--Makefile5
-rw-r--r--src/Makefile4
2 files changed, 7 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 88800c3a..340a782b 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-.PHONY: all src language
+.PHONY: all src language clean
all: src language
@@ -7,3 +7,6 @@ src: language
language:
$(MAKE) -C $@
+
+clean:
+ $(MAKE) -C src clean
diff --git a/src/Makefile b/src/Makefile
index ce31ca6c..4e6257d6 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,6 +1,8 @@
.PHONY: all sail test clean doc lib power test_power test_idempotence
-all: sail lib power doc test
+all: sail lib doc
+
+full: sail lib power doc test
sail:
ocamlbuild sail.native sail_lib.cma sail_lib.cmxa