aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPetri Savolainen <petri.savolainen@linaro.org>2014-02-18 16:08:11 +0200
committerMaxim Uvarov <maxim.uvarov@linaro.org>2014-02-25 10:49:26 +0400
commitd6f23d7c43dd24b00d72b0832fb22609a9ad36e0 (patch)
tree6f81fc5bcb670a7b2d69f841858bcb84b9e3a2cc /Makefile
parentea24f94a0b266b532b62dcdf7369b98f5da120c2 (diff)
Makefile cleanup
- Enabled test level make / make clean without install - Main level Makefile installs files still by default - Moved common stuff into odp/Makefile.inc and odp/test/Makefile.inc Signed-off-by: Petri Savolainen <petri.savolainen@linaro.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 7 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index f086750c3..25123436a 100644
--- a/Makefile
+++ b/Makefile
@@ -5,10 +5,9 @@
.DEFAULT_GOAL := default
-ODP_ROOT = $(PWD)
-ODP_TESTS = $(ODP_ROOT)/test
-PLATFORM_ROOT = $(ODP_ROOT)/platform/$(PLATFORM)
-INCLUDE = -I$(ODP_ROOT)/include
+ODP_ROOT = $(PWD)
+ODP_TESTS = $(ODP_ROOT)/test
+export DESTDIR = $(ODP_ROOT)/build
include $(ODP_ROOT)/Makefile.inc
@@ -28,19 +27,19 @@ tests: libs_install
.PHONY: docs
docs:
- $(MAKE) -C $(PLATFORM_ROOT) docs
+ $(MAKE) -C $(ODP_DIR) docs
.PHONY: docs_install
docs_install: docs
- $(MAKE) -C $(PLATFORM_ROOT) docs_install
+ $(MAKE) -C $(ODP_DIR) docs_install
.PHONY: lib
lib:
- $(MAKE) -C $(PLATFORM_ROOT) libs
+ $(MAKE) -C $(ODP_DIR) libs
.PHONY: clean
clean:
- $(MAKE) -C $(PLATFORM_ROOT) clean
+ $(MAKE) -C $(ODP_DIR) clean
$(MAKE) -C $(ODP_TESTS) clean
.PHONY: libs_install