amiro-apps / configurations / HelloWorld / modules / DiWheelDrive_1-1 / Makefile @ b74d5ee3
History | View | Annotate | Download (2.49 KB)
1 | b74d5ee3 | Thomas Schöpping | ################################################################################ |
---|---|---|---|
2 | # AMiRo-Apps is a collection of applications for the Autonomous Mini Robot # |
||
3 | # (AMiRo) platform. # |
||
4 | # Copyright (C) 2018..2018 Thomas Schöpping et al. # |
||
5 | # # |
||
6 | # This program is free software: you can redistribute it and/or modify # |
||
7 | # it under the terms of the GNU General Public License as published by # |
||
8 | # the Free Software Foundation, either version 3 of the License, or # |
||
9 | # (at your option) any later version. # |
||
10 | # # |
||
11 | # This program is distributed in the hope that it will be useful, # |
||
12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of # |
||
13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # |
||
14 | # GNU General Public License for more details. # |
||
15 | # # |
||
16 | # You should have received a copy of the GNU General Public License # |
||
17 | # along with this program. If not, see <http://www.gnu.org/licenses/>. # |
||
18 | # # |
||
19 | # This research/work was supported by the Cluster of Excellence Cognitive # |
||
20 | # Interaction Technology 'CITEC' (EXC 277) at Bielefeld University, which is # |
||
21 | # funded by the German Research Foundation (DFG). # |
||
22 | ################################################################################ |
||
23 | |||
24 | |||
25 | |||
26 | # absolue path to this directory |
||
27 | APPCONFIG_DIR := $(realpath $(dir $(lastword $(MAKEFILE_LIST)))) |
||
28 | |||
29 | # AMiRo-Apps root directory |
||
30 | AMIROAPPS_DIR = $(realpath $(APPCONFIG_DIR)/../../../..) |
||
31 | |||
32 | # path to the middleware |
||
33 | MIDDLEWARE_DIR = $(AMIROAPPS_DIR)/middleware |
||
34 | |||
35 | # path to the operating system |
||
36 | OS_DIR = $(AMIROAPPS_DIR)/os |
||
37 | |||
38 | # include environments |
||
39 | include $(MIDDLEWARE_DIR)/middleware.mk |
||
40 | include $(OS_DIR)/os.mk |
||
41 | |||
42 | # include directories for configurations |
||
43 | APPSINC = $(APPCONFIG_DIR)/../ \ |
||
44 | $(APPCONFIG_DIR) |
||
45 | |||
46 | # call DiWHeelDrive Makefile module from OS |
||
47 | export |
||
48 | |||
49 | all: |
||
50 | $(MAKE) -C $(OS_DIR)/AMiRo-OS/modules/DiWheelDrive_1-1/ |
||
51 | |||
52 | clean: |
||
53 | $(MAKE) -C $(OS_DIR)/AMiRo-OS/modules/DiWheelDrive_1-1/ clean |
||
54 | |||
55 | flash: |
||
56 | $(MAKE) -C $(OS_DIR)/AMiRo-OS/modules/DiWheelDrive_1-1/ flash |