Files
CE2801-Workspace/lab1/Debug/startup/subdir.mk
2019-09-24 20:55:59 -05:00

38 lines
1.1 KiB
Makefile

################################################################################
# Automatically-generated file. Do not edit!
################################################################################
# Add inputs and outputs from these tool invocations to the build variables
S_SRCS += \
../startup/startup_stm32.s
C_SRCS += \
../startup/sysmem.c
OBJS += \
./startup/startup_stm32.o \
./startup/sysmem.o
C_DEPS += \
./startup/sysmem.d
# Each subdirectory must supply rules for building sources it contributes
startup/%.o: ../startup/%.s
@echo 'Building file: $<'
@echo 'Invoking: MCU GCC Assembler'
@echo $(PWD)
arm-none-eabi-as -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -g -o "$@" "$<"
@echo 'Finished building: $<'
@echo ' '
startup/%.o: ../startup/%.c
@echo 'Building file: $<'
@echo 'Invoking: MCU GCC Compiler'
@echo $(PWD)
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -DSTM32 -DSTM32F4 -DSTM32F446RETx -DNUCLEO_F446RE -DDEBUG -O0 -g3 -Wall -fmessage-length=0 -ffunction-sections -c -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" -o "$@" "$<"
@echo 'Finished building: $<'
@echo ' '