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