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