Last active
October 16, 2017 08:42
-
-
Save luisfmcalado/fe00552f44975f99711c4b3d3169f65e to your computer and use it in GitHub Desktop.
makefile-blink.make
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
all: | |
avr-gcc -g -Os -mmcu=atmega328p -c blink.c | |
avr-gcc -g -mmcu=atmega328p -o blink.elf blink.o | |
avr-objcopy -j .text -j .data -O ihex blink.elf blink.hex | |
clean: | |
rm *.o *.elf *.hex |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment