From 5e22f8ab246eae8f38b5c3f3582fb49f3d16d418 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Fri, 14 Aug 2020 22:18:59 -0400 Subject: better dependencies from better autogeneration --- mk/grantpt.d | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 mk/grantpt.d (limited to 'mk/grantpt.d') diff --git a/mk/grantpt.d b/mk/grantpt.d new file mode 100644 index 00000000..72148019 --- /dev/null +++ b/mk/grantpt.d @@ -0,0 +1,9 @@ +libc_X.400: libc.a(grantpt.o) +libc.a(grantpt.o): $(OBJDIR)/grantpt.o + @$(AR) $(ARFLAGS) $@ $(OBJDIR)/$% + +$(OBJDIR)/grantpt.o: src/stdlib/grantpt.c +$(OBJDIR)/grantpt.o: + @echo " [CC] $@" + @mkdir -p $(@D) + @$(CC) -c -o $@ $(CFLAGS) src/stdlib/grantpt.c -- cgit v1.2.1