Add missing implementations to Makefile, fix suspiscious lines

This commit is contained in:
Paul Warren 2021-02-11 11:56:02 +11:00
parent e1a17c0d3e
commit e32fdbd61b
1 changed files with 7 additions and 4 deletions

View File

@ -38,6 +38,7 @@ BUILD_DIR = build
C_SOURCES = \
Src/Adafruit_GFX.c \
Src/Adafruit_ILI9340.c \
Src/BlinkLed.c \
Src/main.c \
Src/gpio.c \
Src/adc.c \
@ -61,6 +62,8 @@ Src/usb_otg.c \
Src/stm32f7xx_it.c \
Src/stm32f7xx_hal_msp.c \
Src/stm32f7xx_hal_timebase_TIM.c \
Src/Trace.c \
Src/trace_impl.c \
Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_adc.c \
Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_adc_ex.c \
Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal_cortex.c \
@ -218,10 +221,10 @@ $(BUILD_DIR)/$(TARGET).elf: $(OBJECTS) Makefile
$(BUILD_DIR)/%.hex: $(BUILD_DIR)/%.elf | $(BUILD_DIR)
$(HEX) $< $@
$(BUILD_DIR)/%.bin: $(BUILD_DIR)/%.elf | $(BUILD_DIR)
$(BIN) $< $@
$(BIN) $< $@
$(BUILD_DIR):
-mkdir $@
@ -230,7 +233,7 @@ $(BUILD_DIR):
#######################################
clean:
-rm -fR $(BUILD_DIR)
#######################################
# dependencies
#######################################