aboutsummaryrefslogtreecommitdiff
path: root/tools/avr_codegen/Makefile
diff options
context:
space:
mode:
authorcnlohr <lohr85@gmail.com>2016-12-07 01:15:31 -0500
committercnlohr <lohr85@gmail.com>2016-12-07 01:15:31 -0500
commitc059eb3c7d5a2e42cc7bcc93b0b1549e36e042d6 (patch)
treeb58d236d22741671541ddd489bdce4d2586067dc /tools/avr_codegen/Makefile
parente6c6675fd9da8b4ced425ec82e67140eedcd40e8 (diff)
downloadlibsurvive-c059eb3c7d5a2e42cc7bcc93b0b1549e36e042d6.tar.gz
libsurvive-c059eb3c7d5a2e42cc7bcc93b0b1549e36e042d6.tar.bz2
Update! Getting very close.
Diffstat (limited to 'tools/avr_codegen/Makefile')
-rw-r--r--tools/avr_codegen/Makefile8
1 files changed, 4 insertions, 4 deletions
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