aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 84022f3288c403659827cbf6299ac92a4507814e (plain)
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
40
41
# Copyright (c) 2013, Linaro Limited
# All rights reserved.
#
# SPDX-License-Identifier:	BSD-3-Clause

.DEFAULT_GOAL := default

ODP_ROOT = .
ODP_APP  = odp_app
ODP_TESTS = $(ODP_ROOT)/test
INCLUDE  = -I$(ODP_ROOT)/include

include $(ODP_ROOT)/Makefile.inc

.PHONY: default
default: libs tests

.PHONY: all
all: libs tests docs

.PHONY: tests
tests:
	$(MAKE) -C $(ODP_TESTS)

.PHONY: docs
docs:
	$(MAKE) -C $(ODP_LIB) docs

.PHONY: libs
libs:
	$(MAKE) -C $(ODP_LIB) libs

.PHONY: clean
clean:
	$(MAKE) -C $(ODP_LIB) clean
	$(MAKE) -C $(ODP_TESTS) clean

.PHONY: install
install:
	$(MAKE) -C patform/$(platform) install
	$(MAKE) -C test install