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