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