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