Subversion Repositories svnkaklik

Rev

Rev 300 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 300 Rev 302
Line 11... Line 11...
11
## Options common to compile, link and assembly rules
11
## Options common to compile, link and assembly rules
12
COMMON = -mmcu=$(MCU)
12
COMMON = -mmcu=$(MCU)
13
 
13
 
14
## Compile options common for all C compilation units.
14
## Compile options common for all C compilation units.
15
CFLAGS = $(COMMON)
15
CFLAGS = $(COMMON)
16
CFLAGS += -Wall -gdwarf-2              -DF_CPU=3686400UL -O3 -funsigned-char -funsigned-bitfields
16
CFLAGS += -Wall -gdwarf-2                -DF_CPU=3686400UL -O3 -funsigned-char -funsigned-bitfields
17
CFLAGS += -MD -MP -MT $(*F).o -MF dep/$(@F).d 
17
CFLAGS += -MD -MP -MT $(*F).o -MF dep/$(@F).d 
18
 
18
 
19
## Assembly specific flags
19
## Assembly specific flags
20
ASMFLAGS = $(COMMON)
20
ASMFLAGS = $(COMMON)
21
ASMFLAGS += $(CFLAGS)
21
ASMFLAGS += $(CFLAGS)