-# ATmega328P, shitty Chinese arduino clone (just an atmega328p with arduino bootloader/flasher)
+# attiny25 makefile
MCU = attiny25
F_CPU = 8000000UL
LDFLAGS = -Wl,-Map,hbc.map
TARGET_ARCH = -mmcu=$(MCU)
-DEPS =
+DEPS = haptic.h
ODIR = obj
-_OBJ = hbc.o
+_OBJ = hbc.o haptic.o
OBJ = $(patsubst %, $(ODIR)/%,$(_OBJ))
$(ODIR)/%.o: %.c $(DEPS)