Subversion Repositories HomeAutomation

Rev

Rev 73 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 73 Rev 142
Line 65... Line 65...
65
 
65
 
66
# List C source files here. (C dependencies are automatically generated.)
66
# List C source files here. (C dependencies are automatically generated.)
67
SRC =	$(TARGET).c\
67
SRC =	$(TARGET).c\
68
		$(LIBDIR)mcu/uart.c\
68
		$(LIBDIR)mcu/uart.c\
69
		$(LIBDIR)mcu/timebase.c\
69
		$(LIBDIR)mcu/timebase.c\
-
 
70
		$(LIBDIR)mcu/mcu.c\
70
		$(LIBDIR)can/can.c\
71
		$(LIBDIR)can/can.c\
71
		$(LIBDIR)can/mcp2515/mcp2515.c
72
		$(LIBDIR)can/mcp2515/mcp2515.c
72
 
73
 
73
# List Assembler source files here.
74
# List Assembler source files here.
74
# Make them always end in a capital .S.  Files ending in a lowercase .s
75
# Make them always end in a capital .S.  Files ending in a lowercase .s
Line 115... Line 116...
115
#  -O*:          optimization level
116
#  -O*:          optimization level
116
#  -f...:        tuning, see GCC manual and avr-libc documentation
117
#  -f...:        tuning, see GCC manual and avr-libc documentation
117
#  -Wall...:     warning level
118
#  -Wall...:     warning level
118
#  -Wa,...:      tell GCC to pass this to the assembler.
119
#  -Wa,...:      tell GCC to pass this to the assembler.
119
#    -adhlns...: create assembler listing
120
#    -adhlns...: create assembler listing
-
 
121
CFLAGS = 
120
CFLAGS = -g$(DEBUG)
122
#CFLAGS += -g$(DEBUG)
121
CFLAGS += $(CDEFS) $(CINCS)
123
CFLAGS += $(CDEFS) $(CINCS)
122
CFLAGS += -O$(OPT)
124
CFLAGS += -O$(OPT)
123
CFLAGS += -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums
125
CFLAGS += -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums
124
CFLAGS += -Wall -Wstrict-prototypes
126
CFLAGS += -Wall -Wstrict-prototypes
125
CFLAGS += -Wa,-adhlns=$(<:.c=.lst)
127
CFLAGS += -Wa,-adhlns=$(<:.c=.lst)