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