From ff77b77768631b55a8bef271d69c33c60e570de8 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Sat, 15 Aug 2020 19:54:36 -0400 Subject: update dependencies --- mk/__scanf.d | 10 ++++++++++ mk/all.mk | 1 + mk/deps.mk | 4 ++++ 3 files changed, 15 insertions(+) create mode 100644 mk/__scanf.d (limited to 'mk') diff --git a/mk/__scanf.d b/mk/__scanf.d new file mode 100644 index 00000000..e48198dd --- /dev/null +++ b/mk/__scanf.d @@ -0,0 +1,10 @@ +libc_C.0: libc.a(__scanf.o) +libc.a(__scanf.o): $(OBJDIR)/__scanf.o + @$(AR) $(ARFLAGS) $@ $(OBJDIR)/$% + +$(OBJDIR)/__scanf.o: src/stdio/__scanf.c +$(OBJDIR)/__scanf.o: src/stdio/_stdio.h +$(OBJDIR)/__scanf.o: + @echo " [CC] $@" + @mkdir -p $(@D) + @$(CC) -c -o $@ $(CFLAGS) src/stdio/__scanf.c diff --git a/mk/all.mk b/mk/all.mk index 0dcc71f0..6124cf79 100644 --- a/mk/all.mk +++ b/mk/all.mk @@ -995,3 +995,4 @@ include mk/sigprocmask.d include mk/sigaction.d include mk/killpg.d include mk/__time.d +include mk/__scanf.d diff --git a/mk/deps.mk b/mk/deps.mk index c04a7221..78950eeb 100644 --- a/mk/deps.mk +++ b/mk/deps.mk @@ -3982,3 +3982,7 @@ all: mk/__time.d mk/__time.d: src/time/__time.c sh mk/deps.sh src/time/__time.c +all: mk/__scanf.d +mk/__scanf.d: src/stdio/__scanf.c + sh mk/deps.sh src/stdio/__scanf.c + -- cgit v1.2.1