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