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