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