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