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