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

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