--- /dev/null
+AVRDUDE ?= avrdude
+AVR_PART ?= atmega328p
+PROGRAMMER ?= atmelice_isp
+
+PROJECT = nRF24_BLE_Temperature
+BUILD_DIR ?= /tmp/build5895373284071051029.tmp
+
+
+flash: flash_prog flash_eeprom
+
+flash_prog:
+ $(AVRDUDE) -p $(AVR_PART) -c $(PROGRAMMER) -U flash:w:$(BUILD_DIR)/$(PROJECT).cpp.hex:i
+
+flash_eeprom:
+ $(AVRDUDE) -p $(AVR_PART) -c $(PROGRAMMER) -U eeprom:w:$(BUILD_DIR)/$(PROJECT).cpp.eep:i
+
+dump_eeprom:
+ $(AVRDUDE) -p $(AVR_PART) -c $(PROGRAMMER) -U eeprom:r:-:i
+
+.PHONY: flash_prog flash_eeprom dump_eeprom