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