Makefile.mk 263 B

12345678
  1. VPATH += $(USER_LED_DIR)/src
  2. INCLUDES += -I$(USER_LED_DIR)/inc
  3. OBJ_USER_LED_C = $(wildcard $(USER_LED_DIR)/src/*.c)
  4. OBJ_USER_LED_C_NODIR = $(notdir $(OBJ_USER_LED_C))
  5. OBJ_USER_LED_C_O = $(OBJ_USER_LED_C_NODIR:%.c=%.o)
  6. MIDDLEWARE_TARGET_O += $(OBJ_USER_LED_C_O)