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