wip
This commit is contained in:
13
Makefile
13
Makefile
@@ -3,16 +3,15 @@ CROSS_COMPILE ?= avr-
|
||||
TARGET_FILE ?= avr.elf
|
||||
|
||||
MCU = attiny85
|
||||
# MCU = atmega8
|
||||
|
||||
# C_FLAGS += -Wall -Werror
|
||||
C_FLAGS += -Wall -Werror
|
||||
C_FLAGS += -Os
|
||||
C_FLAGS += -mmcu=$(MCU)
|
||||
# C_FLAGS += -ffunction-sections
|
||||
# C_FLAGS += -fdata-sections
|
||||
# C_FLAGS += -std=c11
|
||||
# C_FLAGS += -pedantic
|
||||
# C_FLAGS += -pedantic-errors
|
||||
C_FLAGS += -ffunction-sections
|
||||
C_FLAGS += -fdata-sections
|
||||
C_FLAGS += -std=c11
|
||||
C_FLAGS += -pedantic
|
||||
C_FLAGS += -pedantic-errors
|
||||
C_FLAGS += -Iinclude
|
||||
|
||||
LD_FLAGS += -mmcu=$(MCU)
|
||||
|
Reference in New Issue
Block a user