VPATH += $(USER_KEYPAD_DIR)/Src INCLUDES += -I$(USER_KEYPAD_DIR)/Inc OBJ_USER_KEYPAD_C = $(wildcard $(USER_KEYPAD_DIR)/Src/*.c) OBJ_USER_KEYPAD_C_NODIR = $(notdir $(OBJ_USER_KEYPAD_C)) OBJ_USER_KEYPAD_C_O = $(OBJ_USER_KEYPAD_C_NODIR:%.c=%.o) MIDDLEWARE_TARGET_O += $(OBJ_USER_KEYPAD_C_O)