stm32-sx1280: .h files depend on build dir

This commit is contained in:
Matthias Ringwald 2020-10-28 16:12:15 +01:00
parent 5cc4b88585
commit 357d0f166a

View File

@ -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)