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