blob: 8297454df7ca1a3cdc5ef5c46ef17c3faa1b90cb (
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
42
43
44
45
46
47
48
49
50
51
52
53
|
# @licence app begin@
# SPDX-License-Identifier: MPL-2.0
#
# \copyright Copyright (C) 2013-2014, PCA Peugeot Citroen
#
# \file Makefile
#
# \brief This file is part of the Build System.
#
# \author Philippe Colliot <philippe.colliot@mpsa.com>
#
# \version 1.
#
# This Source Code Form is subject to the terms of the
# Mozilla Public License (MPL), v. 2.0.
# If a copy of the MPL was not distributed with this file,
# You can obtain one at http://mozilla.org/MPL/2.0/.
#
# For further information see http://www.genivi.org/.
#
# List of changes:
#
# 19/8/2014, Philippe Colliot, creation
#
# @licence end@
SRC_DIR=$(CURDIR)/src
PATCH_DIR=$(CURDIR)/patches
BIN_DIR=$(CURDIR)/bin
default: help
help::
@echo "The following targets exist"
@echo "all: Build $(ALL)"
@echo "all2: Install all necessary dependencies and build all"
@echo "clean: Clean up build dir"
@echo "src-clean: Clean up all checked out sources"
include *.mk
all: $(ALL)
src-clean: $(SRC_CLEAN)
deps::
sudo apt-get install $(DEPS)
all2: deps all
clean:
rm -rf $(BIN_DIR)
|