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