aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAnders Roxell <anders.roxell@linaro.org>2014-02-13 18:42:17 +0100
committerMaxim Uvarov <maxim.uvarov@linaro.org>2014-02-17 10:24:48 +0400
commite0ba19104c6eeb9d1817123fedd193b418336847 (patch)
treef51951c7797d3cfad83b74255a6252cdb3f9d006 /Makefile
parent9a6f3659ab13ce5a75e8af24614a04ee4e526c97 (diff)
makefiles: make the test depend on the install dir
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index 318230d2e..f086750c3 100644
--- a/Makefile
+++ b/Makefile
@@ -5,10 +5,10 @@
.DEFAULT_GOAL := default
-ODP_ROOT = $(PWD)
-ODP_APP = odp_app
-ODP_TESTS = $(ODP_ROOT)/test
-INCLUDE = -I$(ODP_ROOT)/include
+ODP_ROOT = $(PWD)
+ODP_TESTS = $(ODP_ROOT)/test
+PLATFORM_ROOT = $(ODP_ROOT)/platform/$(PLATFORM)
+INCLUDE = -I$(ODP_ROOT)/include
include $(ODP_ROOT)/Makefile.inc
@@ -28,19 +28,19 @@ tests: libs_install
.PHONY: docs
docs:
- $(MAKE) -C $(ODP_LIB) docs
+ $(MAKE) -C $(PLATFORM_ROOT) docs
.PHONY: docs_install
docs_install: docs
- $(MAKE) -C $(ODP_LIB) docs_install
+ $(MAKE) -C $(PLATFORM_ROOT) docs_install
.PHONY: lib
lib:
- $(MAKE) -C $(ODP_LIB) libs
+ $(MAKE) -C $(PLATFORM_ROOT) libs
.PHONY: clean
clean:
- $(MAKE) -C $(ODP_LIB) clean
+ $(MAKE) -C $(PLATFORM_ROOT) clean
$(MAKE) -C $(ODP_TESTS) clean
.PHONY: libs_install