summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2024-06-04 13:09:44 -0400
committerJakob Kaivo <jkk@ung.org>2024-06-04 13:09:44 -0400
commit447a8463d51c98bd234d3c314696eab59ecb29f7 (patch)
tree868f5d4914b8a049f7f80eae1ac918c485c07e8f /mk
parentea6cb2d3bb1796aef2c195079fe91311a43f4b82 (diff)
update dependencies
Diffstat (limited to 'mk')
-rw-r--r--mk/__conv.d2
-rw-r--r--mk/__printf.d1
-rw-r--r--mk/localeconv.d1
-rw-r--r--mk/strdup.d9
4 files changed, 12 insertions, 1 deletions
diff --git a/mk/__conv.d b/mk/__conv.d
index 44f2589c..3512ad7f 100644
--- a/mk/__conv.d
+++ b/mk/__conv.d
@@ -3,7 +3,7 @@ libc.a(__conv.o): $(OBJDIR)/__conv.o
@$(AR) $(ARFLAGS) $@ $(OBJDIR)/$%
$(OBJDIR)/__conv.o: src/stdio/__conv.c
-$(OBJDIR)/__conv.o:
+$(OBJDIR)/__conv.o: src/stdio/_stdio.h
$(OBJDIR)/__conv.o:
@mkdir -p $(@D)
$(CC) -c -o $@ $(CFLAGS) src/stdio/__conv.c
diff --git a/mk/__printf.d b/mk/__printf.d
index a70d71c7..8b92be34 100644
--- a/mk/__printf.d
+++ b/mk/__printf.d
@@ -4,6 +4,7 @@ libc.a(__printf.o): $(OBJDIR)/__printf.o
$(OBJDIR)/__printf.o: src/stdio/__printf.c
$(OBJDIR)/__printf.o: src/_forced/strtoumax.h
+$(OBJDIR)/__printf.o: src/_forced/strdup.h
$(OBJDIR)/__printf.o: src/stdio/_stdio.h
$(OBJDIR)/__printf.o:
@mkdir -p $(@D)
diff --git a/mk/localeconv.d b/mk/localeconv.d
index ff8da278..c63688a8 100644
--- a/mk/localeconv.d
+++ b/mk/localeconv.d
@@ -5,6 +5,7 @@ libc.a(localeconv.o): $(OBJDIR)/localeconv.o
$(OBJDIR)/localeconv.o: src/locale/localeconv.c
$(OBJDIR)/localeconv.o: src/locale/_locale.h
$(OBJDIR)/localeconv.o: src/_safety.h
+$(OBJDIR)/localeconv.o: src/_readonly.h
$(OBJDIR)/localeconv.o:
@mkdir -p $(@D)
$(CC) -c -o $@ $(CFLAGS) src/locale/localeconv.c
diff --git a/mk/strdup.d b/mk/strdup.d
new file mode 100644
index 00000000..dc172f44
--- /dev/null
+++ b/mk/strdup.d
@@ -0,0 +1,9 @@
+libc_C.0: libc.a(strdup.o)
+libc.a(strdup.o): $(OBJDIR)/strdup.o
+ @$(AR) $(ARFLAGS) $@ $(OBJDIR)/$%
+
+$(OBJDIR)/strdup.o: src/string/strdup.c
+$(OBJDIR)/strdup.o: src/_safety.h
+$(OBJDIR)/strdup.o:
+ @mkdir -p $(@D)
+ $(CC) -c -o $@ $(CFLAGS) src/string/strdup.c