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