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