################################################################################
# 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 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 += \
RC5_DIMMER.lss \

FLASH_IMAGE += \
RC5_DIMMER.hex \

SIZEDUMMY += \
sizedummy \


# All Target
all: RC5_DIMMER.elf secondary-outputs

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

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

RC5_DIMMER.hex: RC5_DIMMER.elf
	@echo 'Create Flash image (ihex format)'
	-avr-objcopy -R .eeprom -O ihex RC5_DIMMER.elf  "RC5_DIMMER.hex"
	@echo 'Finished building: $@'
	@echo ' '

sizedummy: RC5_DIMMER.elf
	@echo 'Invoking: Print Size'
	-avr-size --format=avr --mcu=attiny13 RC5_DIMMER.elf
	@echo 'Finished building: $@'
	@echo ' '

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

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

.PHONY: all clean dependents
.SECONDARY:

-include ../makefile.targets
