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