component.mk 808 B

1234567891011121314151617181920
  1. #
  2. # Component Makefile
  3. #
  4. # This Makefile should, at the very least, just include $(SDK_PATH)/Makefile. By default,
  5. # this will take the sources in the src/ directory, compile them and link them into
  6. # lib(subdirectory_name).a in the build directory. This behaviour is entirely configurable,
  7. # please read the SDK documents if you need to do this.
  8. #
  9. COMPONENT_EMBED_FILES := style.css code.js index.html bootstrap.min.css.gz jquery.min.js.gz popper.min.js.gz bootstrap.min.js.gz
  10. #CFLAGS += -D LOG_LOCAL_LEVEL=ESP_LOG_DEBUG
  11. CFLAGS += -D LOG_LOCAL_LEVEL=ESP_LOG_INFO \
  12. -I$(COMPONENT_PATH)/../tools
  13. COMPONENT_ADD_INCLUDEDIRS := .
  14. COMPONENT_ADD_INCLUDEDIRS += $(COMPONENT_PATH)/../tools
  15. COMPONENT_ADD_INCLUDEDIRS += $(COMPONENT_PATH)/../squeezelite-ota
  16. COMPONENT_EXTRA_INCLUDES += $(PROJECT_PATH)/main/