diff options
Diffstat (limited to 'mk/waitid.d')
| -rw-r--r-- | mk/waitid.d | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/mk/waitid.d b/mk/waitid.d new file mode 100644 index 00000000..bcdb8deb --- /dev/null +++ b/mk/waitid.d @@ -0,0 +1,12 @@ +libc_P.200809: libc.a(waitid.o) +libc_X.400: libc.a(waitid.o) +libc.a(waitid.o): $(OBJDIR)/waitid.o + @$(AR) $(ARFLAGS) $@ $(OBJDIR)/$% + +$(OBJDIR)/waitid.o: src/sys/wait/waitid.c +$(OBJDIR)/waitid.o: src/_syscall.h +$(OBJDIR)/waitid.o: src/sys/wait/idtype_t.c +$(OBJDIR)/waitid.o: + @echo " [CC] $@" + @mkdir -p $(@D) + @$(CC) -c -o $@ $(CFLAGS) src/sys/wait/waitid.c |
