diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2012-06-03 11:00:38 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2012-06-03 11:00:38 +0000 |
commit | 9f7f595382aa482990487f431b4889430747f617 (patch) | |
tree | 92732a532b5f0eb98bcb9c1478af53281cdbc9a0 /LUFA/Build/lufa.avrdude.in | |
parent | fc0ff2f97657a893db336dded648c8bd60582bc1 (diff) | |
download | lufa-9f7f595382aa482990487f431b4889430747f617.tar.gz lufa-9f7f595382aa482990487f431b4889430747f617.tar.bz2 lufa-9f7f595382aa482990487f431b4889430747f617.zip |
Add $(MAKEFILE_LIST) as a dependency on build rules that could be altered by changes to the makefiles - if the user alters the project makefile, require that all modules are rebuilt.
Diffstat (limited to 'LUFA/Build/lufa.avrdude.in')
-rw-r--r-- | LUFA/Build/lufa.avrdude.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/LUFA/Build/lufa.avrdude.in b/LUFA/Build/lufa.avrdude.in index b44c9f6d7..4c43d183d 100644 --- a/LUFA/Build/lufa.avrdude.in +++ b/LUFA/Build/lufa.avrdude.in @@ -53,10 +53,10 @@ MSG_AVRDUDE_CMD := ' [AVRDUDE] :' AVRDUDE_FLASH_FLAGS = -U flash:w:$< $(AVRDUDE_FLAGS)
AVRDUDE_EEP_FLAGS = -U eeprom:w:$< $(AVRDUDE_FLAGS)
-program: $(TARGET).hex
+program: $(TARGET).hex $(MAKEFILE_LIST)
@echo $(MSG_AVRDUDE_CMD) Programming device \"$(MCU)\" with settings \"$(AVRDUDE_FLASH_FLAGS)\" using \"$(AVRDUDE_PROGRAMMER)\" on port \"$(AVRDUDE_PORT)\"
avrdude -p $(MCU) -P $(AVRDUDE_PORT) -c $(AVRDUDE_PROGRAMMER) $(AVRDUDE_FLASH_FLAGS)
-program-ee: $(TARGET).eep
+program-ee: $(TARGET).eep $(MAKEFILE_LIST)
@echo $(MSG_AVRDUDE_CMD) Programming device \"$(MCU)\" with settings \"$(AVRDUDE_EEP_FLAGS)\" using \"$(AVRDUDE_PROGRAMMER)\" on port \"$(AVRDUDE_PORT)\"
avrdude -p $(MCU) -P $(AVRDUDE_PORT) -c $(AVRDUDE_PROGRAMMER) $(AVRDUDE_EEP_FLAGS)
|