X-Git-Url: https://the.earth.li/gitweb/?p=riso-kagaku-clone.git;a=blobdiff_plain;f=Makefile;h=b2fa31efc33131724816904d5b05bc2477ea9987;hp=be268f6cbaf94bdbdb26755383f61dd3348c5ed9;hb=HEAD;hpb=96af72bc8c7a7a7ce6b83b62257c10b4adfeb036 diff --git a/Makefile b/Makefile index be268f6..b2fa31e 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,11 @@ -DEVICE = attiny45 +DEVICE = attiny85 F_CPU = 16500000 -CFLAGS = -Iusbdrv -I. +CFLAGS = -Iusbdrv -Ilibs-device -I. AVRCC = avr-gcc -Wall -Os -DF_CPU=$(F_CPU) $(CFLAGS) -mmcu=$(DEVICE) OBJECTS = usbdrv/usbdrv.o usbdrv/usbdrvasm.o usbdrv/oddebug.o \ - libs-device/osccal.o main.o + libs-device/osccalASM.o main.o .c.o: $(AVRCC) -c $< -o $@