nixieclock/code/Makefile
2025-02-13 01:02:44 +01:00

6 lines
213 B
Makefile

compile:
avr-gcc -DF_CPU=8000000 -Iavr-i2c -Iavr-ds3231 -Os -flto -mmcu=atmega48 main.c avr-ds3231/ds3231.c avr-i2c/i2c.c -o nixie
avr-size -A nixie
flash:
avrdude -p m48 -c usbasp -P usb -B4 -U flash:w:nixie