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