It demonstrates: * Adding a module with source code * Setting a header include directory * Adding dependences, which are evaluated before other modules dependencies If the application compiles, everything is ok.
4 lines
213 B
Makefile
4 lines
213 B
Makefile
# Use an immediate variable to evaluate `MAKEFILE_LIST` now
|
|
USEMODULE_INCLUDES_external_module := $(abspath $(dir $(lastword $(MAKEFILE_LIST))))/include
|
|
USEMODULE_INCLUDES += $(USEMODULE_INCLUDES_external_module)
|