]> git.dolda2000.com Git - kokare.git/commitdiff
Changed the Makefile for gmake. master
authorFredrik Tolf <fredrik@dolda2000.com>
Sun, 22 Feb 2009 15:15:56 +0000 (16:15 +0100)
committerFredrik Tolf <fredrik@dolda2000.com>
Sun, 22 Feb 2009 15:15:56 +0000 (16:15 +0100)
Makefile

index 906c8f149b3e7a4be85ea17aa7dbbe861b05900d..4417d3f8d48240e8eccba65841bd1fad944e6495 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -15,13 +15,13 @@ program: kokare.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
-       avr-gcc $> -o $@ $(MLDFLAGS) -lm
+       avr-gcc $^ -o $@ $(MLDFLAGS) -lm
 
 .c.o:
        avr-gcc -c $(MCFLAGS) $< -o $@