Makefile.avr 314 B

12345678910111213141516
  1. VPATH += :$(HALPATH)/avr
  2. SRC += uart.c
  3. EXTRAINCDIRS += $(HALPATH)/avr
  4. MCU_FLAGS = -mmcu=$(MCU)
  5. CFLAGS += -fpack-struct
  6. CC = avr-gcc
  7. OBJCOPY = avr-objcopy
  8. OBJDUMP = avr-objdump
  9. SIZE = avr-size
  10. AR = avr-ar rcs
  11. NM = avr-nm
  12. #Fancy AVR Size formatting
  13. ELFSIZE = avr-size --mcu=$(MCU) --format=avr $(TARGET-PLAT).elf