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