Revision 6d4ba740 apps/HelloWorld/HelloWorld.mk
| apps/HelloWorld/HelloWorld.mk | ||
|---|---|---|
| 1 | 1 |
################################################################################ |
| 2 | 2 |
# AMiRo-Apps is a collection of applications for the Autonomous Mini Robot # |
| 3 | 3 |
# (AMiRo) platform. # |
| 4 |
# Copyright (C) 2018..2019 Thomas Schöpping et al. #
|
|
| 4 |
# Copyright (C) 2018..2020 Thomas Schöpping et al. #
|
|
| 5 | 5 |
# # |
| 6 | 6 |
# This program is free software: you can redistribute it and/or modify # |
| 7 | 7 |
# it under the terms of the GNU General Public License as published by # |
| ... | ... | |
| 26 | 26 |
# absolue path to this directory |
| 27 | 27 |
HelloWorldAPP_DIR := $(realpath $(dir $(lastword $(MAKEFILE_LIST)))) |
| 28 | 28 |
|
| 29 |
# middleware selection |
|
| 30 |
ifeq ($(CONFIG_MIDDLEWARE),) |
|
| 31 |
CONFIG_MIDDLEWARE := "µRtWare" |
|
| 32 |
else ifneq ($(CONFIG_MIDDLEWARE),"µRtWare") |
|
| 33 |
$(error incompatible middleware selected: $(CONFIG_MIDDLEWARE)) |
|
| 34 |
endif |
|
| 35 |
|
|
| 29 | 36 |
# include path |
| 30 | 37 |
HelloWorldAPP_INC = $(HelloWorldAPP_DIR) |
| 31 | 38 |
|
Also available in: Unified diff