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