diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2012-08-18 10:45:29 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2012-08-18 10:45:29 +0000 |
commit | 7375c789e1b85ef5eb280339559c0cc9ae8f3b87 (patch) | |
tree | 6f27faf9179718f6055be32e5e48057607f6aa76 /LUFA/Build/lufa_atprogram.mk | |
parent | 3e50a59486d29752c938befdb906666e21851282 (diff) | |
download | lufa-7375c789e1b85ef5eb280339559c0cc9ae8f3b87.tar.gz lufa-7375c789e1b85ef5eb280339559c0cc9ae8f3b87.tar.bz2 lufa-7375c789e1b85ef5eb280339559c0cc9ae8f3b87.zip |
Document build system targets. Add a rule to the BUILD module that is run if a source file does not exist to show an error to the user, rather than running the check-source rule before each build (slightly faster/more portable and the generated error is then a true make error).
Diffstat (limited to 'LUFA/Build/lufa_atprogram.mk')
-rw-r--r-- | LUFA/Build/lufa_atprogram.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/LUFA/Build/lufa_atprogram.mk b/LUFA/Build/lufa_atprogram.mk index f9f5dfc9c..df8d42f07 100644 --- a/LUFA/Build/lufa_atprogram.mk +++ b/LUFA/Build/lufa_atprogram.mk @@ -89,10 +89,12 @@ else $(error Unsupported architecture "$(ARCH)") endif +# Programs in the target FLASH memory using ATPROGRAM atprogram: $(TARGET).elf $(MAKEFILE_LIST) @echo $(MSG_ATPROGRAM_CMD) Programming device \"$(MCU)\" FLASH using \"$(ATPROGRAM_PROGRAMMER)\" atprogram $(BASE_ATPROGRAM_FLAGS) program $(ATPROGRAM_FLASH_FLAGS) --file $< +# Programs in the target EEPROM memory using ATPROGRAM atprogram-ee: $(TARGET).elf $(MAKEFILE_LIST) @echo $(MSG_ATPROGRAM_CMD) Programming device \"$(MCU)\" EEPROM using \"$(ATPROGRAM_PROGRAMMER)\" atprogram $(BASE_ATPROGRAM_FLAGS) program $(ATPROGRAM_EEPROM_FLAGS) --file $< |