source:
avrstuff/test_uart/Makefile@
3587f7f
Last change on this file since 3587f7f was bb69525, checked in by , 14 years ago | |
---|---|
|
|
File size: 425 bytes |
Line | |
---|---|
1 | testusart.hex: testusart.bin |
2 | avr-objcopy -j .text -j .data -O ihex testusart.bin testusart.hex |
3 | |
4 | testusart.bin: usart.o main.o |
5 | avr-gcc usart.o main.o -o testusart.bin -mmcu=atmega8 -Os |
6 | |
7 | main.o: testuart.c ../libs/usart/usart.h |
8 | avr-gcc -c testuart.c -mmcu=atmega8 -Os -o main.o -mmcu=atmega8 -Os |
9 | |
10 | usart.o: ../libs/usart/usart.c ../libs/usart/usart.h |
11 | avr-gcc -c ../libs/usart/usart.c -o usart.o -mmcu=atmega8 -Os |
Note:
See TracBrowser
for help on using the repository browser.