component.mk 565 B

1234567891011121314
  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. CFLAGS += -I$(COMPONENT_PATH)/../tools \
  10. -I$(COMPONENT_PATH)/../config
  11. COMPONENT_ADD_INCLUDEDIRS := .
  12. COMPONENT_ADD_INCLUDEDIRS += $(COMPONENT_PATH)/../tools
  13. COMPONENT_EXTRA_INCLUDES += $(PROJECT_PATH)/main/