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