-../firmware/main.bin:
- $(MAKE) -C ../firmware main.hex
-
-updater.o: updater.c firmware.h
- $(CC) updater.c -c -o updater.o $(CFLAGS)
-
-updater.elf: updater.o
- $(CC) updater.o -o updater.elf $(CFLAGS) $(LDFLAGS)
-
-updater.hex: updater.elf
- $(OBC) -j .text -j .data -O ihex updater.elf updater.hex
- $(ECHO) "."
- avr-size updater.elf