Revision 1bd44c07 Makefile
Makefile | ||
---|---|---|
42 | 42 |
# Optimization level, can be [0, 1, 2, 3, s]. |
43 | 43 |
# 0 = turn off optimization. s = optimize for size. |
44 | 44 |
# (Note: 3 is not always the best optimization level. See avr-libc FAQ.) |
45 |
OPT = s
|
|
45 |
OPT = 3
|
|
46 | 46 |
|
47 | 47 |
# Compiler flag to set the C Standard level. |
48 | 48 |
# c89 - "ANSI" C |
... | ... | |
60 | 60 |
# -adhlns...: create assembler listing |
61 | 61 |
CFLAGS += -O$(OPT) |
62 | 62 |
CFLAGS += -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums |
63 |
CFLAGS += -Wall -Wstrict-prototypes |
|
63 |
CFLAGS += -Wall -Wextra -pedantic -Wstrict-prototypes
|
|
64 | 64 |
CFLAGS += -Wa,-adhlns=$(<:.c=.lst) |
65 | 65 |
CFLAGS += $(CSTANDARD) |
66 | 66 |
CFLAGS += -DF_OSC=$(F_OSC) |
Also available in: Unified diff