Makefile 408 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. .build/pro328/firmware.elf :
  2. @echo Linking firmware.elf
  3. @/usr/bin/avr-gcc -mmcu=atmega328p -Wl,-Os -Wl,--gc-sections -o $@ $^ -lm
  4. .build/pro328/firmware.hex : .build/pro328/firmware.elf
  5. @echo Converting to firmware.hex
  6. @/usr/bin/avr-objcopy -O ihex -R .eeprom $^ $@
  7. include .build/pro328/src/dependencies.d
  8. all : .build/pro328/firmware.hex
  9. @true