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