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