\r
# Create a list of flags to pass to the compiler\r
ifeq ($(ARCH), AVR8)\r
- CC_FLAGS += -mmcu=$(MCU) -gdwarf-2 -fshort-enums -fno-inline-small-functions -fpack-struct\r
- CROSS = avr-\r
+ CC_FLAGS += -mmcu=$(MCU) -gdwarf-2 -fshort-enums -fno-inline-small-functions -fpack-struct\r
+ CROSS = avr-\r
else ifeq ($(ARCH), XMEGA)\r
- CC_FLAGS += -mmcu=$(MCU) -gdwarf-2 -fshort-enums -fno-inline-small-functions -fpack-struct\r
- CROSS = avr-\r
+ CC_FLAGS += -mmcu=$(MCU) -gdwarf-2 -fshort-enums -fno-inline-small-functions -fpack-struct\r
+ CROSS = avr-\r
else ifeq ($(ARCH), UC3)\r
- CC_FLAGS += -mpart=$(MCU) -g3 -masm-addr-pseudos\r
- CROSS = avr32-\r
+ CC_FLAGS += -mpart=$(MCU) -g3 -masm-addr-pseudos\r
+ CROSS = avr32-\r
else\r
- $(error Unsupported architecture.)\r
+ $(error Unsupported architecture.)\r
endif\r
CC_FLAGS += -Wall -fno-strict-aliasing -funsigned-char -funsigned-bitfields -ffunction-sections\r
CC_FLAGS += -I. -I$(patsubst %/,%,$(LUFA_PATH))/..\r