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