rc3_avr/attiny2313/Makefile
2020-12-03 15:32:43 +01:00

10 lines
315 B
Makefile
Executable File

#/bin/bash
#avr-gcc -std=c99 -Os -Wall -mmcu=attiny2313 -S -o hello.s hello.c
#avr-gcc -Os -Wall -mmcu=attiny2313 -c -o hello.o hello.s
#avr-gcc -Os -Wall -mmcu=attiny2313 -o hello.out hello.o
#avr-strip hello.out
avr-gcc -Os -std=c99 -Wall -mmcu=attiny2313 -o hello.out hello.c
avr-strip hello.out