summaryrefslogtreecommitdiff
path: root/mk/tcflow.d
blob: 542d0554b6bb71ceebecae32fcc3dcd73c9ff3ab (plain)
1
2
3
4
5
6
7
8
9
libc_P.1: libc.a(tcflow.o)
libc.a(tcflow.o): $(OBJDIR)/tcflow.o
	@$(AR) $(ARFLAGS) $@ $(OBJDIR)/$%

$(OBJDIR)/tcflow.o: src/termios/tcflow.c
$(OBJDIR)/tcflow.o:
	@echo "  [CC] $@"
	@mkdir -p $(@D)
	@$(CC) -c -o $@ $(CFLAGS) src/termios/tcflow.c