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