2023-05-12 17:03:14 +10:00
|
|
|
CEXAMPLE_MOD_DIR := $(USERMOD_DIR)
|
2020-10-21 11:13:47 +02:00
|
|
|
|
|
|
|
# Add all C files to SRC_USERMOD.
|
2023-05-12 17:03:14 +10:00
|
|
|
SRC_USERMOD += $(CEXAMPLE_MOD_DIR)/examplemodule.c
|
2020-10-21 11:13:47 +02:00
|
|
|
|
|
|
|
# We can add our module folder to include paths if needed
|
|
|
|
# This is not actually needed in this example.
|
2023-05-12 17:03:14 +10:00
|
|
|
CFLAGS_USERMOD += -I$(CEXAMPLE_MOD_DIR)
|