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