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