summaryrefslogtreecommitdiffstatshomepage
path: root/examples/usercmodule/cexample/micropython.mk
blob: dbfe3c5cbdb1f315557052426d880815232133a7 (plain) (blame)
1
2
3
4
5
6
7
8
9
EXAMPLE_MOD_DIR := $(USERMOD_DIR)

# Add all C files to SRC_USERMOD.
SRC_USERMOD += $(EXAMPLE_MOD_DIR)/examplemodule.c

# We can add our module folder to include paths if needed
# This is not actually needed in this example.
CFLAGS_USERMOD += -I$(EXAMPLE_MOD_DIR)
CEXAMPLE_MOD_DIR := $(USERMOD_DIR)