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