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