1 ################################################################################
2 # Automatically-generated file. Do not edit!
3 ################################################################################
5 -include ../makefile.init
7 RM := rm -rf
9 # All of the sources participating in the build are defined here
10 -include sources.mk
11 -include subdir.mk
12 -include objects.mk
14 ifneq ($(MAKECMDGOALS),clean)
15 ifneq ($(strip $(ASM_DEPS)),)
16 -include $(ASM_DEPS)
17 endif
18 ifneq ($(strip $(S_UPPER_DEPS)),)
19 -include $(S_UPPER_DEPS)
20 endif
21 ifneq ($(strip $(C_DEPS)),)
22 -include $(C_DEPS)
23 endif
24 endif
26 -include ../makefile.defs
28 # Add inputs and outputs from these tool invocations to the build variables
30 # All Target
31 all: mem_util.elf secondary-outputs
33 # Tool invocations
34 mem_util.elf: $(OBJS) $(USER_OBJS)
35 @echo 'Building target: $@'
36 @echo 'Invoking: ARM Sourcery Linux GCC C Linker'
37 arm-none-linux-gnueabi-gcc -Wl,-Map,mem_util.map -mcpu=cortex-a8 -o"mem_util.elf" $(OBJS) $(USER_OBJS) $(LIBS)
38 @echo 'Finished building target: $@'
39 @echo ' '
41 # Other Targets
42 clean:
43 -$(RM) $(ASM_DEPS)$(OBJS)$(SECONDARY_SIZE)$(S_UPPER_DEPS)$(EXECUTABLES)$(SECONDARY_LIST)$(C_DEPS)$(SECONDARY_FLASH) mem_util.elf
44 -@echo ' '
46 secondary-outputs:
48 .PHONY: all clean dependents
49 .SECONDARY:
51 -include ../makefile.targets