This repository has been archived on 2020-06-14. You can view files and clone it, but cannot push or open issues or pull requests.

61 lines
1.9 KiB
Makefile

################################################################################
# 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 src/drivers/subdir.mk
-include 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: UAV-ControlSystem.elf
dependents:
-cd C:/Users/Philip/Documents/GitHub/UAV-Control-System/revolution_hal_lib/Debug && $(MAKE) all
# Tool invocations
UAV-ControlSystem.elf: $(OBJS) $(USER_OBJS) C:/Users/Philip/Documents/GitHub/UAV-Control-System/revolution_hal_lib/Debug/librevolution_hal_lib.a
@echo 'Building target: $@'
@echo 'Invoking: MCU GCC Linker'
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -L"C:\Users\Philip\Documents\GitHub\UAV-Control-System\revolution_hal_lib\Debug" -T"C:\Users\Philip\Documents\GitHub\UAV-Control-System\UAV-ControlSystem\LinkerScript.ld" -Wl,-Map=output.map -Wl,--gc-sections -lm -o "UAV-ControlSystem.elf" @"objects.list" $(USER_OBJS) $(LIBS)
@echo 'Finished building target: $@'
@echo ' '
$(MAKE) --no-print-directory post-build
# Other Targets
clean:
-$(RM) *
-@echo ' '
post-build:
-@echo 'Generating binary and Printing size information:'
arm-none-eabi-objcopy -O binary "UAV-ControlSystem.elf" "UAV-ControlSystem.bin"
arm-none-eabi-size "UAV-ControlSystem.elf"
-@echo ' '
.PHONY: all clean dependents
.SECONDARY: post-build
C:/Users/Philip/Documents/GitHub/UAV-Control-System/revolution_hal_lib/Debug/librevolution_hal_lib.a:
-include ../makefile.targets