diff options
Diffstat (limited to 'mk/waitpid.d')
| -rw-r--r-- | mk/waitpid.d | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/mk/waitpid.d b/mk/waitpid.d new file mode 100644 index 00000000..5064fa6d --- /dev/null +++ b/mk/waitpid.d @@ -0,0 +1,16 @@ +libc_P.1: libc.a(waitpid.o) +libc.a(waitpid.o): $(OBJDIR)/waitpid.o + @$(AR) $(ARFLAGS) $@ $(OBJDIR)/$% + +$(OBJDIR)/waitpid.o: src/sys/wait/waitpid.c +$(OBJDIR)/waitpid.o: src/_syscall.h +$(OBJDIR)/waitpid.o: src/signal/union_sigval.c +$(OBJDIR)/waitpid.o: src/signal/siginfo_t.c +$(OBJDIR)/waitpid.o: src/sys/wait/idtype_t.c +$(OBJDIR)/waitpid.o: src/sys/wait/P_PID.c +$(OBJDIR)/waitpid.o: src/sys/wait/P_PGID.c +$(OBJDIR)/waitpid.o: src/sys/wait/P_ALL.c +$(OBJDIR)/waitpid.o: + @echo " [CC] $@" + @mkdir -p $(@D) + @$(CC) -c -o $@ $(CFLAGS) src/sys/wait/waitpid.c |
