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