From 09efa97593f2ba47cbc528b76172e877662ced49 Mon Sep 17 00:00:00 2001 From: Charles Lohr Date: Tue, 6 Dec 2016 00:19:44 -0500 Subject: Update with changes from livestream. --- 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 e7b8673..2d3a17e 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-gcc -I -g $(CFLAGS) -mmcu=$(PART) -Wl,-Map,test.map -o $@ test.c -L/usr/lib/binutils/avr/2.18 +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.lst : test.c - avr-gcc -c -g -Wa,-a,-ad $(CFLAGS) test.c > $@ +test.lst : test.c avr_print.c + avr-gcc -c -g -Wa,-a,-ad $(CFLAGS) test.c avr_print.c > $@ burn : test.hex avrdude -c usbtiny -p $(PROGPART) -V -U flash:w:test.hex -- cgit v1.2.3