# invertabot makefile July 26 2002 # invertabot.hex : invertabot.out avr-objcopy -O ihex invertabot.out invertabot.hex invertabot.out : invertabot.o avr-gcc -mmcu=at90s8535 -o invertabot.out invertabot.o invertabot.o : invertabot.c avr-gcc -c -O2 -Wall -mmcu=at90s8535 invertabot.c -o invertabot.o clean: rm -f invertabot.o invertabot.out invertabot.hex #Note: symlink /dev/avr must point to /dev/ttyS0 old_pgm: uisp -datmel -dpart=auto --erase --upload if=invertabot.hex #New 2002 version of uisp pgm: uisp -dprog=avr910 -dpart=auto --erase --upload if=invertabot.hex lst: avr-objdump -d invertabot.o | less