diff --git a/port/stm32-l451-miromico-sx1280/Makefile b/port/stm32-l451-miromico-sx1280/Makefile index 8792537e9..76e175c92 100644 --- a/port/stm32-l451-miromico-sx1280/Makefile +++ b/port/stm32-l451-miromico-sx1280/Makefile @@ -248,7 +248,7 @@ vpath %.c $(sort $(dir $(C_SOURCES))) OBJECTS += $(addprefix $(BUILD_DIR)/,$(notdir $(ASM_SOURCES:.s=.o))) vpath %.s $(sort $(dir $(ASM_SOURCES))) -$(BUILD_DIR)/%.h: %.gatt +$(BUILD_DIR)/%.h: %.gatt | $(BUILD_DIR) python3 ${BTSTACK_ROOT}/tool/compile_gatt.py $< $@ $(BUILD_DIR)/%.o: %.c Makefile | $(BUILD_DIR)