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