From: Fredrik Tolf Date: Sun, 22 Feb 2009 15:15:56 +0000 (+0100) Subject: Changed the Makefile for gmake. X-Git-Url: http://git.dolda2000.com/gitweb/?a=commitdiff_plain;p=kokare.git Changed the Makefile for gmake. --- diff --git a/Makefile b/Makefile index 906c8f1..4417d3f 100644 --- 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 $@