summaryrefslogtreecommitdiff
path: root/mk/iswdigit.d
diff options
context:
space:
mode:
Diffstat (limited to 'mk/iswdigit.d')
-rw-r--r--mk/iswdigit.d10
1 files changed, 10 insertions, 0 deletions
diff --git a/mk/iswdigit.d b/mk/iswdigit.d
new file mode 100644
index 00000000..5bff63bf
--- /dev/null
+++ b/mk/iswdigit.d
@@ -0,0 +1,10 @@
+libc_C.199409: libc.a(iswdigit.o)
+libc.a(iswdigit.o): $(OBJDIR)/iswdigit.o
+ @$(AR) $(ARFLAGS) $@ $(OBJDIR)/$%
+
+$(OBJDIR)/iswdigit.o: src/wctype/iswdigit.c
+$(OBJDIR)/iswdigit.o: src/_assert.h
+$(OBJDIR)/iswdigit.o:
+ @echo " [CC] $@"
+ @mkdir -p $(@D)
+ @$(CC) -c -o $@ $(CFLAGS) src/wctype/iswdigit.c