Files
m5stack_devkit/components/button/component.mk
T
2018-06-26 12:02:23 +08:00

24 lines
512 B
Makefile

#
# "main" pseudo-component makefile.
#
# (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.)
# componet standalone mode
ifndef CONFIG_IOT_SOLUTION_EMBED
COMPONENT_ADD_INCLUDEDIRS := ./button/include
COMPONENT_SRCDIRS := ./button
else
ifdef CONFIG_IOT_BUTTON_ENABLE
COMPONENT_ADD_INCLUDEDIRS := ./button/include
COMPONENT_SRCDIRS := ./button
else
# Disable component
COMPONENT_ADD_INCLUDEDIRS :=
COMPONENT_ADD_LDFLAGS :=
COMPONENT_SRCDIRS :=
endif
endif