################################################################################
# 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 cwlib/lib/trapmc/subdir.mk
-include cwlib/lib/MathLib/MathLib_Iq/subdir.mk
-include cwlib/lib/MathLib/MathLib_Float/subdir.mk
-include cwlib/defs/subdir.mk
-include RTE/Device/NEBO40_64/subdir.mk
-include Library/TSP/SerialBuffer/subdir.mk
-include Library/TSP/Crc16/subdir.mk
-include Library/TSP/API023MotorControl/subdir.mk
-include Library/TSP/API006MemoryRW/subdir.mk
-include Library/TSP/API001Ack/subdir.mk
-include Library/TSP/subdir.mk
-include Library/Custom/Uart/subdir.mk
-include subdir.mk
-include objects.mk

ifneq ($(MAKECMDGOALS),clean)
ifneq ($(strip $(ASM_DEPS)),)
-include $(ASM_DEPS)
endif
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 
SECONDARY_FLASH += \
brazos-trapezoidal.hex \

SECONDARY_SIZE += \
brazos-trapezoidal.siz \


# All Target
all: brazos-trapezoidal.elf secondary-outputs

# Tool invocations
brazos-trapezoidal.elf: $(OBJS) $(USER_OBJS)
	@echo 'Building target: $@'
	@echo 'Invoking: GNU Arm Cross C Linker'
	arm-none-eabi-gcc -mcpu=cortex-m0plus -mthumb -mlittle-endian -Ofast -fmessage-length=0 -fsigned-char  -g3 -T "C:\Users\pegorf\on-semiconductor-workspace\brazos-trapezoidal\RTE\Device\NEBO40_64\nebo40_64.ld" -Xlinker --gc-sections -Wl,-Map,"brazos-trapezoidal.map" --specs=nano.specs --specs=nosys.specs -o "brazos-trapezoidal.elf" $(OBJS) $(USER_OBJS) $(LIBS)
	@echo 'Finished building target: $@'
	@echo ' '

brazos-trapezoidal.hex: brazos-trapezoidal.elf
	@echo 'Invoking: GNU Arm Cross Create Flash Image'
	arm-none-eabi-objcopy -O ihex "brazos-trapezoidal.elf"  "brazos-trapezoidal.hex"
	@echo 'Finished building: $@'
	@echo ' '

brazos-trapezoidal.siz: brazos-trapezoidal.elf
	@echo 'Invoking: GNU Arm Cross Print Size'
	arm-none-eabi-size --format=berkeley "brazos-trapezoidal.elf"
	@echo 'Finished building: $@'
	@echo ' '

# Other Targets
clean:
	-$(RM) $(OBJS)$(SECONDARY_FLASH)$(SECONDARY_SIZE)$(ASM_DEPS)$(S_UPPER_DEPS)$(C_DEPS) brazos-trapezoidal.elf
	-@echo ' '

secondary-outputs: $(SECONDARY_FLASH) $(SECONDARY_SIZE)

.PHONY: all clean dependents

-include ../makefile.targets
