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