################################################################################
# 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 subdir.mk
-include src/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 $(S_DEPS)),)
-include $(S_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 
LSS += \
AVRlcdM078CKA.lss \

SIZEDUMMY += \
sizedummy \


# All Target
all: AVRlcdM078CKA.elf secondary-outputs

# Tool invocations
AVRlcdM078CKA.elf: $(OBJS) $(USER_OBJS)
	@echo 'Building target: $@'
	@echo 'Invoking: AVR C Linker'
	avr-gcc -Wl,-Map,AVRlcdM078CKA.map -mmcu=at90s2313 -o"AVRlcdM078CKA.elf" $(OBJS) $(USER_OBJS) $(LIBS)
	@echo 'Finished building target: $@'
	@echo ' '

AVRlcdM078CKA.lss: AVRlcdM078CKA.elf
	@echo 'Invoking: AVR Create Extended Listing'
	-avr-objdump -h -S AVRlcdM078CKA.elf  >"AVRlcdM078CKA.lss"
	@echo 'Finished building: $@'
	@echo ' '

sizedummy: AVRlcdM078CKA.elf
	@echo 'Invoking: Print Size'
	-avr-size --format=berkeley -t AVRlcdM078CKA.elf
	@echo 'Finished building: $@'
	@echo ' '

# Other Targets
clean:
	-$(RM) $(ELFS)$(ASM_DEPS)$(OBJS)$(S_UPPER_DEPS)$(LSS)$(S_DEPS)$(C_DEPS)$(SIZEDUMMY) AVRlcdM078CKA.elf
	-@echo ' '

secondary-outputs: $(LSS) $(SIZEDUMMY)

.PHONY: all clean dependents
.SECONDARY:

-include ../makefile.targets
