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

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