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