Revision 249c27b3 configurations/HelloWorld/modules/DiWheelDrive_1-1/Makefile

View differences:

configurations/HelloWorld/modules/DiWheelDrive_1-1/Makefile
24 24

  
25 25

  
26 26
# absolue path to this directory
27
APPCONFIG_DIR := $(realpath $(dir $(lastword $(MAKEFILE_LIST))))
27
APPCONFIG_MODULE_DIR := $(realpath $(dir $(lastword $(MAKEFILE_LIST))))
28 28

  
29
# AMiRo-Apps root directory
30
AMIROAPPS_DIR = $(realpath $(APPCONFIG_DIR)/../../../..)
29
# environment setup
30
include $(APPCONFIG_MODULE_DIR)/../modules.mk
31 31

  
32
# path to the middleware
33
MIDDLEWARE_DIR = $(AMIROAPPS_DIR)/middleware
32
# include apps
33
include $(APPS_DIR)/HelloWorld/HelloWorld.mk
34 34

  
35
# path to the operating system
36
OS_DIR = $(AMIROAPPS_DIR)/os
35
# include directories for configurations
36
APPSINC += $(APPCONFIG_MODULE_DIR) \
37
           $(HelloWorldAPP_INC)
37 38

  
38
# include environments
39
include $(MIDDLEWARE_DIR)/middleware.mk
40
include $(OS_DIR)/os.mk
39
# C sources
40
APPSCSRC += $(HelloWorldAPP_CSRC)
41 41

  
42
# include directories for configurations
43
APPSINC = $(APPCONFIG_DIR)/../ \
44
          $(APPCONFIG_DIR)
42
# C++ sources
43
APPSCPPSRC += $(HelloWorldAPP_CPPSRC)
45 44

  
46 45
# call DiWHeelDrive Makefile module from OS
47
export
48

  
49 46
all:
50 47
	$(MAKE) -C $(OS_DIR)/AMiRo-OS/modules/DiWheelDrive_1-1/
51 48

  

Also available in: Unified diff