From c059eb3c7d5a2e42cc7bcc93b0b1549e36e042d6 Mon Sep 17 00:00:00 2001 From: cnlohr Date: Wed, 7 Dec 2016 01:15:31 -0500 Subject: Update! Getting very close. --- tools/avr_codegen/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tools/avr_codegen/Makefile') diff --git a/tools/avr_codegen/Makefile b/tools/avr_codegen/Makefile index 2d3a17e..e7b8673 100644 --- a/tools/avr_codegen/Makefile +++ b/tools/avr_codegen/Makefile @@ -12,11 +12,11 @@ test.hex : test.elf avr-objcopy -j .text -j .data -O ihex test.elf test.hex avrdude -c usbtiny -p $(PROGPART) -V -U flash:w:test.hex -test.elf : test.c avr_print.c - avr-gcc -I -g $(CFLAGS) -mmcu=$(PART) -Wl,-Map,test.map -o $@ test.c avr_print.c -L/usr/lib/binutils/avr/2.18 +test.elf : test.c + avr-gcc -I -g $(CFLAGS) -mmcu=$(PART) -Wl,-Map,test.map -o $@ test.c -L/usr/lib/binutils/avr/2.18 -test.lst : test.c avr_print.c - avr-gcc -c -g -Wa,-a,-ad $(CFLAGS) test.c avr_print.c > $@ +test.lst : test.c + avr-gcc -c -g -Wa,-a,-ad $(CFLAGS) test.c > $@ burn : test.hex avrdude -c usbtiny -p $(PROGPART) -V -U flash:w:test.hex -- cgit v1.2.3