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