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