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