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