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 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:
-       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 $@