@@ -8,6 +8,7 @@ C_SRCS += \
|
||||
../HW_Devices/LCD.c \
|
||||
../HW_Devices/eeprom.c \
|
||||
../HW_Devices/iic.c \
|
||||
../HW_Devices/key.c \
|
||||
../HW_Devices/rs522.c \
|
||||
../HW_Devices/touch.c
|
||||
|
||||
@@ -15,6 +16,7 @@ OBJS += \
|
||||
./HW_Devices/LCD.o \
|
||||
./HW_Devices/eeprom.o \
|
||||
./HW_Devices/iic.o \
|
||||
./HW_Devices/key.o \
|
||||
./HW_Devices/rs522.o \
|
||||
./HW_Devices/touch.o
|
||||
|
||||
@@ -22,11 +24,19 @@ C_DEPS += \
|
||||
./HW_Devices/LCD.d \
|
||||
./HW_Devices/eeprom.d \
|
||||
./HW_Devices/iic.d \
|
||||
./HW_Devices/key.d \
|
||||
./HW_Devices/rs522.d \
|
||||
./HW_Devices/touch.d
|
||||
|
||||
|
||||
# Each subdirectory must supply rules for building sources it contributes
|
||||
HW_Devices/%.o: ../HW_Devices/%.c HW_Devices/subdir.mk
|
||||
arm-none-eabi-gcc "$<" -mcpu=cortex-m3 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F103xE -c -I../Core/Inc -I"/Users/wuwenfeng/STM32CubeIDE/workspace_1.7.0/m3s/SW_APPs" -I"/Users/wuwenfeng/STM32CubeIDE/workspace_1.7.0/m3s/HW_Devices" -I../Drivers/STM32F1xx_HAL_Driver/Inc -I../Drivers/STM32F1xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F1xx/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
|
||||
arm-none-eabi-gcc "$<" -mcpu=cortex-m3 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F103xE -c -I../Core/Inc -I"C:/Users/wuwen/Desktop/M3s_stm32/SW_APPs" -I"C:/Users/wuwen/Desktop/M3s_stm32/HW_Devices" -I../Drivers/STM32F1xx_HAL_Driver/Inc -I../Drivers/STM32F1xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F1xx/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
|
||||
|
||||
clean: clean-HW_Devices
|
||||
|
||||
clean-HW_Devices:
|
||||
-$(RM) ./HW_Devices/LCD.d ./HW_Devices/LCD.o ./HW_Devices/eeprom.d ./HW_Devices/eeprom.o ./HW_Devices/iic.d ./HW_Devices/iic.o ./HW_Devices/key.d ./HW_Devices/key.o ./HW_Devices/rs522.d ./HW_Devices/rs522.o ./HW_Devices/touch.d ./HW_Devices/touch.o
|
||||
|
||||
.PHONY: clean-HW_Devices
|
||||
|
||||
|
||||
Reference in New Issue
Block a user