Add .PHONY targets in all build system modules. Alter BUILD module so that the existence of source files are checked before the build is started.

This commit is contained in:
Dean Camera
2012-06-03 12:17:37 +00:00
parent 9f7f595382
commit 88425d7dab
5 changed files with 36 additions and 23 deletions

View File

@@ -70,4 +70,7 @@ dfu: $(TARGET).hex $(MAKEFILE_LIST)
dfu-ee: $(TARGET).eep $(MAKEFILE_LIST)
@echo $(MSG_DFU_CMD) Programming EEPROM with dfu-programmer using \"$(TARGET).eep\"
dfu-programmer $(MCU) eeprom-flash $(TARGET).eep
dfu-programmer $(MCU) reset
dfu-programmer $(MCU) reset
# Phony build targets for this module
.PHONY: flip flip-ee dfu dfu-ee