diff options
Diffstat (limited to 'simonnnnn/Debug/makefile')
-rw-r--r-- | simonnnnn/Debug/makefile | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/simonnnnn/Debug/makefile b/simonnnnn/Debug/makefile new file mode 100644 index 0000000..ee7021f --- /dev/null +++ b/simonnnnn/Debug/makefile @@ -0,0 +1,56 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +-include ../makefile.init + +RM := rm -rf + +# All of the sources participating in the build are defined here +-include sources.mk +-include startup/subdir.mk +-include Drivers/STM32L0xx_HAL_Driver/Src/subdir.mk +-include Core/Src/subdir.mk +-include subdir.mk +-include objects.mk + +ifneq ($(MAKECMDGOALS),clean) +ifneq ($(strip $(S_UPPER_DEPS)),) +-include $(S_UPPER_DEPS) +endif +ifneq ($(strip $(C_DEPS)),) +-include $(C_DEPS) +endif +endif + +-include ../makefile.defs + +# Add inputs and outputs from these tool invocations to the build variables + +# All Target +all: simonnnnn.elf + +# Tool invocations +simonnnnn.elf: $(OBJS) $(USER_OBJS) ../STM32L053R8Tx_FLASH.ld + @echo 'Building target: $@' + @echo 'Invoking: MCU GCC Linker' + arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -mfloat-abi=soft -specs=nosys.specs -specs=nano.specs -T"../STM32L053R8Tx_FLASH.ld" -Wl,-Map=output.map -Wl,--gc-sections -o "simonnnnn.elf" @"objects.list" $(USER_OBJS) $(LIBS) -lm + @echo 'Finished building target: $@' + @echo ' ' + $(MAKE) --no-print-directory post-build + +# Other Targets +clean: + -$(RM) * + -@echo ' ' + +post-build: + -@echo 'Generating hex and Printing size information:' + arm-none-eabi-objcopy -O ihex "simonnnnn.elf" "simonnnnn.hex" + arm-none-eabi-size "simonnnnn.elf" + -@echo ' ' + +.PHONY: all clean dependents +.SECONDARY: post-build + +-include ../makefile.targets |