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