Makefile.mk 419 B

123456789
  1. VPATH += $(SDK_DRIVER_DIR)/Peripheral/Drv/Src
  2. INCLUDES += -I$(SDK_DRIVER_DIR)/Peripheral/Drv/Inc
  3. INCLUDES += -I$(USER_PINSHARE_DIR)/inc
  4. OBJ_DRIVER_PERIPH_C = $(wildcard $(SDK_DRIVER_DIR)/Peripheral/Drv/Src/*.c)
  5. OBJ_DRIVER_PERIPH_C_NODIR = $(notdir $(OBJ_DRIVER_PERIPH_C))
  6. OBJ_DRIVER_PERIPH_C_O = $(OBJ_DRIVER_PERIPH_C_NODIR:%.c=%.o)
  7. DRIVER_TARGET_O += $(OBJ_DRIVER_PERIPH_C_O)
  8. include $(USER_PINSHARE_DIR)/Makefile.mk