blob: c9c2beaf7b1091c3df7fda47942cf88d43d76b8c (
plain)
1
2
3
4
5
6
7
8
|
libcurses.a: libcurses.a(lab_f9.o)
libcurses.a(lab_f9.o): $(OBJDIR)/lab_f9.o
@$(AR) $(ARFLAGS) $@ $(OBJDIR)/$%
$(OBJDIR)/lab_f9.o: term/lab_f9.c
@echo "[CC] $@"
@mkdir -p "$(@D)"
@$(CC) -c -o $@ $(CFLAGS) term/lab_f9.c
|