component.mk 530 B

12345678910111213
  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. COMPONENT_ADD_INCLUDEDIRS := .
  11. COMPONENT_ADD_INCLUDEDIRS += $(COMPONENT_PATH)/../tools
  12. COMPONENT_EXTRA_INCLUDES += $(PROJECT_PATH)/main/