Statistics
| Branch: | Tag: | Revision:

amiro-lld / Makefile @ 6ebebd4d

History | View | Annotate | Download (2.337 KB)

1 d6728c5b Thomas Schöpping
################################################################################
2
# AMiRo-LLD is a compilation of low-level hardware drivers for the Autonomous  #
3
# Mini Robot (AMiRo) platform.                                                 #
4 f125ae07 Thomas Schöpping
# Copyright (C) 2016..2019  Thomas Schöpping et al.                            #
5 d6728c5b Thomas Schöpping
#                                                                              #
6
# This program is free software: you can redistribute it and/or modify         #
7 f0ca400f Thomas Schöpping
# it under the terms of the GNU Lesser General Public License as published by  #
8 d6728c5b Thomas Schöpping
# 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 f0ca400f Thomas Schöpping
# GNU Lesser General Public License for more details.                          #
15 d6728c5b Thomas Schöpping
#                                                                              #
16 f0ca400f Thomas Schöpping
# You should have received a copy of the GNU Lesser General Public License     #
17 d6728c5b Thomas Schöpping
# 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
# absolute path to this directory
27 616f3584 Thomas Schöpping
AMIROLLD_DIR := $(dir $(lastword $(MAKEFILE_LIST)))
28 d6728c5b Thomas Schöpping
29
# include paths
30 1d5bcc82 Thomas Schöpping
AMIROLLD_INC = $(AMIROLLD_DIR) \
31 6ebebd4d Andre Raming
               $(sort $(dir $(wildcard $(AMIROLLD_DIR)include/?*/)))\
32
               $(AMIROLLD_DIR)include/VL53L0X/v1/Api_vl53l0x/core/inc \
33
               $(AMIROLLD_DIR)include/VL53L0X/v1/Api_vl53l0x/platform/inc
34
#$(info $(AMIROLLD_INC))
35 d6728c5b Thomas Schöpping
36
# C sources
37 6ebebd4d Andre Raming
AMIROLLD_CSRC = $(shell find $(AMIROLLD_DIR)source/ -type f -regex "$(AMIROLLD_DIR)source/.+\.c")\
38
		$(shell find $(AMIROLLD_DIR)include/ -type f -regex "$(AMIROLLD_DIR)include/.+\.c")
39
#$(info $(AMIROLLD_CSRC))
40
#exit