libcurses.a: libcurses.a(label_height.o) libcurses.a(label_height.o): $(OBJDIR)/label_height.o @$(AR) $(ARFLAGS) $@ $(OBJDIR)/$% $(OBJDIR)/label_height.o: term/label_height.c @echo "[CC] $@" @mkdir -p "$(@D)" @$(CC) -c -o $@ $(CFLAGS) term/label_height.c