aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAnders Roxell <anders.roxell@linaro.org>2014-02-13 18:42:14 +0100
committerMaxim Uvarov <maxim.uvarov@linaro.org>2014-02-17 10:24:27 +0400
commita34929961bc6c9106ed3712b3ed4763e7fa9ae1a (patch)
treee524fe5c55723ad196ccdc53d5d48a9bbc45a9e6 /Makefile
parented128f83d8e2c42b34fba7dc92df2c7a80e23d8c (diff)
correct the install dependencies
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile26
1 files changed, 18 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index fffc06445..240179d13 100644
--- a/Makefile
+++ b/Makefile
@@ -13,21 +13,29 @@ INCLUDE = -I$(ODP_ROOT)/include
include $(ODP_ROOT)/Makefile.inc
.PHONY: default
-default: libs tests
+default: lib tests
.PHONY: all
-all: libs tests docs
+all: tests_install docs_install
+
+.PHONY: tests_install
+tests_install: tests
+ $(MAKE) -C test install
.PHONY: tests
-tests:
+tests: libs_install
$(MAKE) -C $(ODP_TESTS)
.PHONY: docs
docs:
$(MAKE) -C $(ODP_LIB) docs
-.PHONY: libs
-libs:
+.PHONY: docs_install
+docs_install: docs
+ $(MAKE) -C $(ODP_LIB) docs_install
+
+.PHONY: lib
+lib:
$(MAKE) -C $(ODP_LIB) libs
.PHONY: clean
@@ -35,7 +43,9 @@ clean:
$(MAKE) -C $(ODP_LIB) clean
$(MAKE) -C $(ODP_TESTS) clean
-.PHONY: install
-install:
+.PHONY: libs_install
+libs_install: lib
$(MAKE) -C platform/$(PLATFORM) install
- $(MAKE) -C test install
+
+.PHONY: install
+install: libs_install docs_install tests_install