diff --git a/Makefile b/Makefile index d2adcc3..046ab1e 100644 --- a/Makefile +++ b/Makefile @@ -44,12 +44,10 @@ bin: $(PRG).bin %.hex: %.elf $(OBJCOPY) -j .text -j .data -O ihex $< $@ -%.bin: %.elf - $(OBJCOPY) -j .text -j .data -O binary $< $@ %.bin: %.elf $(OBJCOPY) -j .text -j .data -O binary $< $@ -prg: $(PRG).hex - python2 ../megaHidProg -C -c 1000 -t 4 -b $(PRG).bin +prg: $(PRG).bin + python2 ../megaHidProg/megaHidProg.py -C -c 1000 -t 4 -b $(PRG).bin