projects
/
avr_serial_lcd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of ssh://git.b9.com/home/gitpub/avr_serial_lcd
[avr_serial_lcd.git]
/
icc_c
/
Makefile
diff --git
a/icc_c/Makefile
b/icc_c/Makefile
index e0395096a365bd120dcc4b3a181350ad3ab52bd8..f3c232a51c0c90696ce106f73599a8b39c93070d 100644
(file)
--- a/
icc_c/Makefile
+++ b/
icc_c/Makefile
@@
-9,7
+9,7
@@
CC = iccavr
OBJECTS = $(PROJECT).o
\r
\r
## Compile options common for all C compilation units.
\r
OBJECTS = $(PROJECT).o
\r
\r
## Compile options common for all C compilation units.
\r
-CFLAGS =
-e -D__ICC_VERSION="7.16A" -DATtiny2313 -l -A -A -g
-Wf-r20_23 -O24
\r
+CFLAGS =
-g -e -D__ICC_VERSION="7.16A" -DATtiny2313 -l -A -A
-Wf-r20_23 -O24
\r
\r
## Linker flags
\r
LDFLAGS = -g -e:0x0800 -bfunc_lit:0x26.0x800 -dram_end:0xdf -bdata:0x60.0xdf -dhwstk_size:30 -beeprom:0.128 -fihx_coff -S2
\r
\r
## Linker flags
\r
LDFLAGS = -g -e:0x0800 -bfunc_lit:0x26.0x800 -dram_end:0xdf -bdata:0x60.0xdf -dhwstk_size:30 -beeprom:0.128 -fihx_coff -S2
\r
@@
-27,11
+27,11
@@
LINKONLYOBJECTS =
all: $(TARGET)
\r
\r
## Compile
\r
all: $(TARGET)
\r
\r
## Compile
\r
-$(PROJECT).o: ../
serial_lcd
.c
\r
+$(PROJECT).o: ../
$(PROJECT)
.c
\r
$(CC) -c $(CFLAGS) $(INCLUDES) $<
\r
\r
$(TARGET): $(OBJECTS)
\r
$(CC) -c $(CFLAGS) $(INCLUDES) $<
\r
\r
$(TARGET): $(OBJECTS)
\r
- $(CC) -o
SERIAL_LCD
$(LDFLAGS) $(OBJECTS) -lcavrgr
\r
+ $(CC) -o
$(project)
$(LDFLAGS) $(OBJECTS) -lcavrgr
\r
\r
## Clean target
\r
.PHONY: distclean
\r
\r
## Clean target
\r
.PHONY: distclean
\r