Dolda2000 GitWeb
/
kokare.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9f1265b
)
Changed the Makefile for gmake.
master
author
Fredrik Tolf
<fredrik@dolda2000.com>
Sun, 22 Feb 2009 15:15:56 +0000
(16:15 +0100)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Sun, 22 Feb 2009 15:15:56 +0000
(16:15 +0100)
Makefile
patch
|
blob
|
blame
|
history
diff --git
a/Makefile
b/Makefile
index
906c8f1
..
4417d3f
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-15,13
+15,13
@@
program: kokare.hex
avrdude -q -p m88 -U flash:w:kokare.hex
.elf.hex:
avrdude -q -p m88 -U flash:w:kokare.hex
.elf.hex:
- avr-objcopy -O ihex -R .eeprom $
>
$@
+ avr-objcopy -O ihex -R .eeprom $
^
$@
#%.ehex: %.elf
# avr-objcopy -O ihex -j .eeprom --set-section-flags=.eeprom="alloc,load" --change-section-lma .eeprom=0 $< $@
kokare.elf: kokare.o
#%.ehex: %.elf
# avr-objcopy -O ihex -j .eeprom --set-section-flags=.eeprom="alloc,load" --change-section-lma .eeprom=0 $< $@
kokare.elf: kokare.o
- avr-gcc $
>
-o $@ $(MLDFLAGS) -lm
+ avr-gcc $
^
-o $@ $(MLDFLAGS) -lm
.c.o:
avr-gcc -c $(MCFLAGS) $< -o $@
.c.o:
avr-gcc -c $(MCFLAGS) $< -o $@