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