Subversion Repositories HomeAutomation

Rev

Rev 556 | Rev 561 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 556 Rev 560
Line 1... Line 1...
1
# $Id: Makefile 556 2007-07-24 22:49:05Z andfri $
1
# $Id: Makefile 560 2007-07-28 16:21:52Z andfri $
2
BIOS_VERSION   = 0x1338
2
BIOS_VERSION   = 0x1338
3
 
3
 
4
# Paths: set default pathnames if they are not
4
# Paths: set default pathnames if they are not
5
# passed on from parent Makefile.
5
# passed on from parent Makefile.
6
ifndef TARGET
6
ifndef TARGET
Line 139... Line 139...
139
 
139
 
140
# Linker flags.
140
# Linker flags.
141
#  -Wl,...:     tell GCC to pass this to linker.
141
#  -Wl,...:     tell GCC to pass this to linker.
142
#    -Map:      create map file
142
#    -Map:      create map file
143
#    --cref:    add cross reference to  map file
143
#    --cref:    add cross reference to  map file
144
LDFLAGS = -Wl,-Map=$(TARGET).map,--cref
144
LDFLAGS = -mmcu=$(MCU) -Wl,-Map=$(TARGET).map,--cref
145
LDFLAGS += $(EXTMEMOPTS)
145
LDFLAGS += $(EXTMEMOPTS)
146
LDFLAGS += $(BIOSOPTS)
146
LDFLAGS += $(BIOSOPTS)
147
LDFLAGS += $(PRINTF_LIB) $(SCANF_LIB) $(MATH_LIB)
147
LDFLAGS += $(PRINTF_LIB) $(SCANF_LIB) $(MATH_LIB)
148
 
148
 
149
# ---------------------------------------------------------------------------
149
# ---------------------------------------------------------------------------