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