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