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